From c7ae12e8134d3a72c4ed22f9cf7b635f5560a61e Mon Sep 17 00:00:00 2001 From: Magnus Olsen Date: Thu, 26 May 2005 14:46:23 +0000 Subject: [PATCH] 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. svn path=/trunk/; revision=15521 --- reactos/drivers/video/displays/framebuf/screen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/reactos/drivers/video/displays/framebuf/screen.c b/reactos/drivers/video/displays/framebuf/screen.c index bbf07ef75bd..43b7a39b649 100644 --- a/reactos/drivers/video/displays/framebuf/screen.c +++ b/reactos/drivers/video/displays/framebuf/screen.c @@ -93,6 +93,7 @@ GetAvailableModes( if ((ModeInfoPtr->NumberOfPlanes != 1) || !(ModeInfoPtr->AttributeFlags & VIDEO_MODE_GRAPHICS) || ((ModeInfoPtr->BitsPerPlane != 8) && + (ModeInfoPtr->BitsPerPlane != 15) && (ModeInfoPtr->BitsPerPlane != 16) && (ModeInfoPtr->BitsPerPlane != 24) && (ModeInfoPtr->BitsPerPlane != 32)))