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
    Member Newbie
    Join Date
    May 2000
    Posts
    39

    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
    2,978

    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.

Similar Threads

  1. GLUT/windows.h
    By KeSh in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-13-2004, 12:15 PM
  2. NEED HELP IN GLUT IN WINDOWS!!!
    By alex_r in forum OpenGL: General
    Replies: 0
    Last Post: 08-19-2002, 08:47 AM
  3. GLUT in Windows 95
    By Starpost in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-04-2002, 07:12 PM
  4. 4 glut windows in 1
    By in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 05-05-2002, 11:56 PM
  5. glut and windows.h
    By dosenpfand in forum OpenGL: Basic Coding
    Replies: 7
    Last Post: 07-24-2001, 07:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean