🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Palettized desktop problem.

Started by
-1 comments, last by johno 23 years, 11 months ago
I''m having a problem when my application is run from a desktop which is pallettized (eg. 256 colour mode) My code checks the current display mode (EnumDisplaySettings), and if necessary changes the display mode to a high colour mode (eg. 16 bit), but then the call to ChoosePixelFormat fails. Interestingly enough, the code works fine if the desktop starts in a high-colour mode. The exact same thing happens if you run any of the NeHe tutorials - if you''re desktop is in 256 colour mode and you run the tutorial (selecting Yes to run in full screen mode), the program fails when calling ChoosePixelFormat. Anybody know why ? Thanks in advance.

This topic is closed to new replies.

Advertisement