瀏覽代碼

+ Added DirectColor support

carl 26 年之前
父節點
當前提交
0b1a558a5a
共有 1 個文件被更改,包括 2 次插入0 次删除
  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