[ros-diffs] [greatlrd] 15521: Fix the problem for 24 bits graphic card.

greatlrd at svn.reactos.com greatlrd at svn.reactos.com
Thu May 26 16:46:25 CEST 2005


Fix the problem for 24 bits graphic card.
But it report color deep 15 are supported now. 
it solv the problem. Thanks WaxDragon
Hope filip does like this change.
Modified: trunk/reactos/drivers/video/displays/framebuf/screen.c
  _____  

Modified: trunk/reactos/drivers/video/displays/framebuf/screen.c
--- trunk/reactos/drivers/video/displays/framebuf/screen.c
2005-05-26 13:55:13 UTC (rev 15520)
+++ trunk/reactos/drivers/video/displays/framebuf/screen.c
2005-05-26 14:46:23 UTC (rev 15521)
@@ -93,6 +93,7 @@

       if ((ModeInfoPtr->NumberOfPlanes != 1) ||
           !(ModeInfoPtr->AttributeFlags & VIDEO_MODE_GRAPHICS) ||
           ((ModeInfoPtr->BitsPerPlane != 8) &&
+		   (ModeInfoPtr->BitsPerPlane != 15) &&
            (ModeInfoPtr->BitsPerPlane != 16) &&
            (ModeInfoPtr->BitsPerPlane != 24) &&
            (ModeInfoPtr->BitsPerPlane != 32)))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050526/73f8b641/attachment.html


More information about the Ros-diffs mailing list