Forráskód Böngészése

+ Added DirectColor support

carl 26 éve
szülő
commit
0b1a558a5a
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      rtl/inc/graph/modes.inc

+ 2 - 0
rtl/inc/graph/modes.inc

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