PDA

View Full Version : Why won't this work?



10-27-2000, 08:03 PM
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?

10-27-2000, 08:17 PM
nevermind! i was linking with glut32.lib instead of glut.lib, and opengl32.lib instead of opengl.lib!

DAMN mictosoft! http://www.opengl.org/discussion_boards/ubb/smile.gif