소스 검색

+ 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