View Full Version : Glut and Windows 98

06-25-2000, 12:13 AM

I just started to learn to develop OpenGL-programs under Windows98. The demo applications without Glut (lessons under NeHe) work fine. Now I found lessions with Glut. I can compile and link the demo code without problems, but I only see a black screen after starting the program.

I downloaded the newest Glut (3.7 Beta binary) and use the Watcom 10.6 Compiler.

The source code can be found under:

Any idea?

Thanks a lot for your time

07-12-2000, 11:18 PM
You need to call glFlush() at the end of your Display() function. That should solve your problem.

07-13-2000, 03:01 AM
If your program is using a doublebuffer, a call to glFlush() is rendurant. It's done automatically when calling SwapBuffers() under Win32, but dunno about X-environments.