Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OpenGL question

Status
Not open for further replies.

redoctober

Programmer
Oct 25, 2000
37
CA
Hi guys,
Maybe it's not exactly the right forum for this question but again maybe someone stumbled upon something similar before.
I'm working with opengl in project with MFC support. I use glut for window creation and handling for opengl output.
Now, my program runs well in execution mode (pressing CTRL+F5) but it doesn't run in debug mode (pressing F5). What's happening is this, when i press F5 program runs until it reaches the statement glutCreateWindow() (which is the glut function for creating window). When this statement is reached program goes into glut dll and stops (breakpoints) in the middle of the assembly code of the dll. If i keep pressing F5 for about 20 times window finally gets created but it's crippled, doesn't refresh or anything. This happens consistently on all machines which are running win2000, but at home i tried the very same program on winME and it runs smoothly in debug mode as well as in execution mode.
Can anybody enlighten me in that respect? :)
Cheers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top