Browse Source

+ Added DirectColor support

carl 26 years ago
parent
commit
0b1a558a5a
1 changed files with 2 additions and 0 deletions
  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