PDA

View Full Version : Glut and Windows 98



Kaskade
06-24-2000, 11:13 PM
Hello,

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:
http://www.heise.de/ix/artikel/1999/12/160/02.shtml

Any idea?

Thanks a lot for your time

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

Bob
07-13-2000, 02: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.