Advertisement

SOLVED: Unable to display anything...

Started by April 27, 2005 02:34 AM
0 comments, last by PaulAtreus 19 years, 7 months ago
I have just gone through and constructed a new base code from scratch. I got all the code to handle creating the window, displaying it fullscreen/windowed, handling user input, etc. However, now when I try to display any primitives, it's still just a black screen. Even in my initialization code, if I alter the glClearColor values it always clears to just a black screen. I have stepped through my code multiple times, have disected my code while using the Red Book looking for anything, and have even resorted to trying to copy+paste the Nehe basecode snippet from certain areas to replace my code, but still nothing. I can post my code if you'd like, but there is quite a bit of it, as it is the complete basecode for creating of the window, initialization, and handling input. Any help? edit: spelling (late night)
Nevermind, I just realized I had made a mistake in the order of my initialization and had been making a few OpenGL calls before creating the window and that seemed to throw the whole thing off. But problem solved :)

This topic is closed to new replies.

Advertisement