OpenGL

This is a discussion on OpenGL within the C++ Programming forums, part of the General Programming Boards category; Hi, I have a problem regard OpenGL. Hope someone can help me pls. Because in my main program, i called ...

  1. #1
    Registered User
    Join Date
    May 2005
    Posts
    8

    OpenGL

    Hi,

    I have a problem regard OpenGL. Hope someone can help me pls.

    Because in my main program, i called up a Dialog Box with a Button when clicked, it will show the 2 windows. However, after i closed the 2 windows, it will terminate my program directly instead of going back to the main program to continue with the program. Is there any command i should include after "glutMainLoop();" to let it loop back to the main?


    understand that in OpenGL, glutMainLoop is giving some infinitely looping and has hence been avoid... i jus found out that i can use glutCheckLoop.

    however it onli works in dos mode... what should i change to let it works in window application? (dialog box)

    thanks alot
    wayne
    Attached Files Attached Files

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Linking OpenGL in Dev-C++
    By linkofazeroth in forum Game Programming
    Replies: 4
    Last Post: 09-13-2005, 11:17 AM
  2. OpenGL Window
    By Morgul in forum Game Programming
    Replies: 1
    Last Post: 05-15-2005, 01:34 PM
  3. OpenGL .dll vs video card dll
    By Silvercord in forum Game Programming
    Replies: 14
    Last Post: 02-12-2003, 07:57 PM
  4. OpenGL and Windows
    By sean345 in forum Game Programming
    Replies: 5
    Last Post: 06-24-2002, 11:14 PM
  5. opengl code not working
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 02-14-2002, 10:01 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21