PDA

View Full Version : Why OpenGL program hangs???



wolfman
04-09-2004, 12:21 AM
I tested my program on integrated SiS 650 video card.
My program goes to full-screen mode, and when I change(by ALT-TAB) to another program, OpenGL program hangs.
I tried to stop executing any opengl commands release DC, disselect OpenGL rendering context -but nothing helps.
I also use CS_OWNDC flag while registering class

Please, I will appreciate any suggestions.

Honk
04-09-2004, 01:54 PM
ALT-Tabbing in fullscreen applications is a delicate problem. Its no suprise that most OpenGL fullscreen applications (read games) disable ALT-TAB in the first place.

I once had to that and is was quiet painfull as the behavior varies not only between different drivers but also between different versions of Windows.

Disabling ALT-TAB will safe you from getting major headaches, believe me.