I have a function called Render(), that contains the one function, glutClearColor(0.0f,0.0f,1.0f,1.0f);
And i use glutDisplayFunc(Render);
And then glutMainLoop();
however, it wont clear the window with the blue! Whats wrong?
I have a function called Render(), that contains the one function, glutClearColor(0.0f,0.0f,1.0f,1.0f);
And i use glutDisplayFunc(Render);
And then glutMainLoop();
however, it wont clear the window with the blue! Whats wrong?
nevermind! i was linking with glut32.lib instead of glut.lib, and opengl32.lib instead of opengl.lib!
DAMN mictosoft!