Handling system color change in OpenGL apps.
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, I have developed an MDI OpenGL App using MFC. It creates a scene and displays it after reading it from a file that stores the colors, etc. of each object in the scene. Now how do I handle change in color depth in runtime, because in my code I use glColor3f(R,G,B) to specify colors while drawing. So will this code work properly in 256 colors also. How will I handle changes to the palette etc.? Thanks, Krishnan