mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-07 08:28:08 +02:00
25 lines
542 B
ObjectPascal
25 lines
542 B
ObjectPascal
{ Explictly disable range check as the test
|
|
is not about this but does generate a range check error
|
|
for the index of rasteriso array }
|
|
{$R-}
|
|
|
|
{ Source provided for Free Pascal Bug Report 3864 }
|
|
{ Submitted by "Jernej" on 2005-04-01 }
|
|
{ e-mail: jernejcoder@gmail.com }
|
|
const
|
|
rasteriso: array[0..2] of byte = // this is WAY too big
|
|
(
|
|
$00, $00, $00
|
|
);
|
|
|
|
procedure glBitMap(const pb:pbyte);cdecl;
|
|
begin
|
|
end;
|
|
|
|
var
|
|
i : longint;
|
|
begin
|
|
i:=0;
|
|
glBitmap(@rasteriso[(255 - i) * 16]); // Add a character to the current Display list
|
|
end.
|