Original Post
I am trying to write a program that will change to user selected resolution / bit depth, but if I change to a display mode with a different bit depth to the desktop all my colours come out wrong. WAHT IS WRONG HERE?
I checked it with the NeHe Lesson 2 code, I have a 16 BPP desktop and I changed into a 24BPP fullscreen mode and my shapes came out the wrong colour. Is there any way around it?