Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Glut and Windows 98

  1. #1
    Junior Member Newbie
    Join Date
    Jun 2000
    Posts
    1

    Glut and Windows 98

    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

  2. #2
    Intern Newbie
    Join Date
    May 2000
    Posts
    40

    Re: Glut and Windows 98

    You need to call glFlush() at the end of your Display() function. That should solve your problem.

  3. #3
    Senior Member OpenGL Guru
    Join Date
    Feb 2000
    Location
    Sweden
    Posts
    3,115

    Re: Glut and Windows 98

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •