-
OpenGL Tut problem
I was following NeHe's GL tuts, and after going through the first one, I got this. I might have accidently trashed some code when I changed the indenting and removed the comments, because when it starts up in windowed mode, the window's see through and it doesn't show any black in fullscreen. Here's the url to the code:
http://personal.bellsouth.net/lig/m/.../framework.cpp
Any help would be much appreciated.
Thanks,
Valar_King
-
In the glClearColor function you have the alpha channel argument set as 0.0f. The tutorial I downloaded had it set as 0.5f. Try that and see if it works.
-
The problem will be in your CreateGLWindow() function. Replace that with the one that came with the tutorial... sorry i cant be specific, im just too buisy to look through your code.
-