Archived

This topic is now archived and is closed to further replies.

redoctober9

OpenGL Question

Recommended Posts

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 VC++ 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. Does any one know what could be wrong here? Cheers.

Share this post


Link to post
Share on other sites