GL commands not getting to Window
I''m working on putting NeHe''s base code into a window class so that my apps can have a COpenGLWindow variable for the window. I''ve coppied and pasted all the window creation and input lines in the base code into corresponding functions in the window and input class. The problem is that when i use a GL command in my main loop (glClear for example) it has no effect. I have tried going through line by line comparing NeHe''s basecode with my minipulation of it and i cannot find one place where we are different. However i could be missing something sutle.
THe window comes up just fine and can be moved and exited by input, but it just shows whats behind it, glClear has no effect.
What might be the problem?
He who said money was the root of all evil knew little of the nature of money and less about the nature of man.
Ambassador: Mr. Bush are you stoned or just really, REALLY dumb?Pres. Bush - I assure you I am not stoned.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement