mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2026-01-06 07:30:53 +01:00
+ Added DirectColor support
This commit is contained in:
parent
1bcd891310
commit
0b1a558a5a
@ -277,6 +277,8 @@
|
||||
MaxY := modeinfo^.MaxY;
|
||||
MaxColor := modeinfo^.MaxColor;
|
||||
PaletteSize := modeinfo^.PaletteSize;
|
||||
{ is this a direct color mode? }
|
||||
DirectColor := modeinfo^.DirectColor;
|
||||
{ now actually initialize the video mode...}
|
||||
{ check first if the routine exists }
|
||||
if not assigned(modeinfo^.InitMode) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user