How can i restore device lost when using CEGUI and OgreD3D9R

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
williamchow
Just popping in
Just popping in
Posts: 2
Joined: Thu Jul 14, 2005 04:13

How can i restore device lost when using CEGUI and OgreD3D9R

Postby williamchow » Thu Jul 14, 2005 13:50

hi, I have a problem, cannot restore device lost, when i use OGRE(1.0.3 version) and CEGUI(0.3.0).

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

User avatar
thumperj
Not too shy to talk
Not too shy to talk
Posts: 30
Joined: Wed Jan 12, 2005 12:06
Location: Austin, TX
Contact:

Re: How can i restore device lost when using CEGUI and OgreD

Postby thumperj » Mon Aug 01, 2005 16:21

I am actively working this issue, too. We have a major product release that is being held up by this problem.

As Sinbad has noted, this problem is specific to CEGUI. The Ogre examples do not exhibit this behavior so something about mixing CEGUI and Ogre together makes the cocktail unstable. Here's a thread on the Ogre forums that discusses the problem (but with no solution):
http://www.ogre3d.org/phpBB2/viewtopic. ... highlight=

If anyone has solved this problem could they please post what they have done?

Thanks,
Chris


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 8 guests