Explorar el Código

* 24-bit color support in modes.inc:res2mode

git-svn-id: trunk@40865 -
nickysn hace 6 años
padre
commit
ec2f4c2c0c
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      packages/graph/src/inc/modes.inc

+ 3 - 1
packages/graph/src/inc/modes.inc

@@ -31,9 +31,11 @@
      4096: driver := D12bit;
      32768: driver := D15bit;
      65536: driver := D16bit;
-{    not yet supported
+{$ifdef FPC_GRAPH_SUPPORTS_TRUECOLOR}
      65536*256: driver := D24bit;
+{    not yet supported
      65536*65536: driver := D32bit;}
+{$endif FPC_GRAPH_SUPPORTS_TRUECOLOR}
      else
        begin
          driver := maxsmallint;