Game Development Community

game crash on resuming from sleep/suspend on Vista

by Glen Pothoven · in Torque Game Builder · 02/25/2012 (4:07 pm) · 2 replies

I've come across a crash for TGB 1.7.5 which happens when the game tries to resume from sleeping/suspend/hibernating in windows Vista. Happens only in fullscreen and is most easily replicated on a laptop by running a game in fullscreen and closing the lid to send it into sleeping and then opening lid and waking up. Also the game must be running in D3D not OpenGL.

Seems to be a source code issue. Anyone else have this problem? Any solutions? I have the source code but I'm not exactly a C++ specialist.

About the author

Recent Threads


#1
02/25/2012 (7:41 pm)
Well, they removed D3D from TGB 1.76, so I'm guessing the 'fix' is to compile using OpenGL. It is very likely a source code issue, though I also am that not hot with the C++ side of things so I can't really offer much of a solution beyond that. Is there any particular reason why your game needs to be D3D?
#2
02/25/2012 (8:32 pm)
From what I read it seemed like D3D was only removed for the editor not for games. I'm not too sure if this really is the case though. I'm using D3D because not all video cards support OpenGL.