mirror of
https://github.com/reactos/reactos.git
synced 2024-12-30 19:14:31 +00:00
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
This commit is contained in:
parent
db1bf61e23
commit
c7ae12e813
1 changed files with 1 additions and 0 deletions
|
@ -93,6 +93,7 @@ GetAvailableModes(
|
||||||
if ((ModeInfoPtr->NumberOfPlanes != 1) ||
|
if ((ModeInfoPtr->NumberOfPlanes != 1) ||
|
||||||
!(ModeInfoPtr->AttributeFlags & VIDEO_MODE_GRAPHICS) ||
|
!(ModeInfoPtr->AttributeFlags & VIDEO_MODE_GRAPHICS) ||
|
||||||
((ModeInfoPtr->BitsPerPlane != 8) &&
|
((ModeInfoPtr->BitsPerPlane != 8) &&
|
||||||
|
(ModeInfoPtr->BitsPerPlane != 15) &&
|
||||||
(ModeInfoPtr->BitsPerPlane != 16) &&
|
(ModeInfoPtr->BitsPerPlane != 16) &&
|
||||||
(ModeInfoPtr->BitsPerPlane != 24) &&
|
(ModeInfoPtr->BitsPerPlane != 24) &&
|
||||||
(ModeInfoPtr->BitsPerPlane != 32)))
|
(ModeInfoPtr->BitsPerPlane != 32)))
|
||||||
|
|
Loading…
Reference in a new issue