Game Development Community

GFXD3DDevice:reset crash

by Jeremiah Fulbright · in Torque Game Engine Advanced · 08/15/2007 (8:28 pm) · 3 replies

I am curious if anybody is seeing a reset() crash on loading any of their builds of 1.02. We're seeing it only for Fullscreen settings, where as Windowed mode works fine.. Fullscreen works fine if set from the Options menu and applied, but on initial load it refuses to work



Video Init:
GFXD3DDevice - using 'd3dx9_35.dll' for dynamic linking.
DirectX version - 9.0
Direct 3D device found

--- Resetting D3D Device ---



All that is in the log, this is using Aug 2007 DX, but seeing as it works fine in Windowed Mode and even Fullscreen from options, I am not looking at that, as the issue

#1
08/15/2007 (10:08 pm)
Well, after some debugging it seems the new WM_SIZE code in WinWindow.cpp was getting bad Video Mode information, and was in return setting bad video modes which would crash the engine.

I had to comment out the whole section and it works fine, so not sure what is different or needs to be changed to make it work
#2
08/15/2009 (11:39 am)
Edited: Moved to the Torque 3D forums.

Thank you Michael. For some reason, I thought this had been posted to the Torque 3D forums.
#3
08/15/2009 (1:32 pm)
@Stephane:
Torque 3D bugs should go in the Torque 3D forums if they're to be viewed/noticed/logged as known issues.