+ Added DirectColor support

This commit is contained in:
carl 1999-05-24 13:43:50 +00:00
parent 1bcd891310
commit 0b1a558a5a

View File

@ -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