How can i restore device lost when using CEGUI and OgreD3D9R
Posted: Thu Jul 14, 2005 13:44
hi, I have a problem, cannot restore device lost, when i use OGRE and CEGUI.
Thanks everybody who give me advice.
Following is description:
First, i run Demo_gui.exe application in fullscreen mode using OgreD3D9RenderSystem.
Second, i change to other application.
Third, i change back to Demo_gui.exe.
Then, An Exception is throwed everytime.
Details of Exception:
Error #:5
Function:D3D9RenderWindow:restoreLostDevice
Description: Cannot reset device : Invalid call
File: \Ogrenew\RenderSystem\Direct3D9\src\OgreD3D9RenderSystem.cpp
line 2614
Stack unwinding<<beginning of stack>>
I am developping game using CEGUI and OGRE. i meet the problem also.
How can i restore device lost when using CEGUI and OgreD3D9RenderSystem? Thanks
Thanks everybody who give me advice.
Following is description:
First, i run Demo_gui.exe application in fullscreen mode using OgreD3D9RenderSystem.
Second, i change to other application.
Third, i change back to Demo_gui.exe.
Then, An Exception is throwed everytime.
Details of Exception:
Error #:5
Function:D3D9RenderWindow:restoreLostDevice
Description: Cannot reset device : Invalid call
File: \Ogrenew\RenderSystem\Direct3D9\src\OgreD3D9RenderSystem.cpp
line 2614
Stack unwinding<<beginning of stack>>
I am developping game using CEGUI and OGRE. i meet the problem also.
How can i restore device lost when using CEGUI and OgreD3D9RenderSystem? Thanks