[BUG] Ogre CEGUI Renderer

If you found a bug in our library or on our website, please report it in this section. In this forum you can also make concrete suggestions or feature requests.

Moderators: CEGUI MVP, CEGUI Team

User avatar
Van
Just can't stay away
Just can't stay away
Posts: 225
Joined: Fri Jan 21, 2005 20:29
Contact:

[BUG] Ogre CEGUI Renderer

Postby Van » Thu Nov 19, 2009 12:59

Ogre: 1.6.4 SVN branch
CEGUI 0.7.1 SVN Branch
MSVS 9.0+
DirectX August 2009 SDK

We believe this to be a CEGUI Ogre Renderer bug.


Original Post: http://www.ogre3d.org/forums/viewtopic.php?f=4&t=53802

Symptom:
I think there is a bug in the D3D9RenderSystem or related system. I can reproduce it every time.
When starting Ogre in WINDOW mode (i.e. not full screen) and the render window does NOT remain as the foreground task you get a NULL pointer exception.

The error occurs here:

Line 2284 in function D3D9RenderSystem::_setCullingMode()

Code: Select all

bool flip = ((mActiveRenderTarget->requiresTextureFlipping() && !mInvertVertexWinding) ||
   (!mActiveRenderTarget->requiresTextureFlipping() && mInvertVertexWinding));


mActiveRenderTarget is NULL.

How to reproduce:

1. Start Ogre
2. Select DirectX 9 Renderer
3. Full Screen = NO

After pressing the OK button, quickly switch tasks. You want to do this prior to calling Ogre::Root::startRendering(). The error should occur.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [BUG] Ogre CEGUI Renderer

Postby CrazyEddie » Thu Dec 03, 2009 10:14

I will check this out and see if we can work around it, though the issue seemingly occurs at a level of the abstraction lower than that which we talk to - so I'm not quite sure what we can do to mitigate the issue at the moment (perhaps it will become clear when I look into it?!).

CE.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: [BUG] Ogre CEGUI Renderer

Postby CrazyEddie » Sun Dec 13, 2009 17:08

Ok. I have looked into this today, but was unable to reproduce the issue. My test was performed using the CEGUI samples framework, I added a delay at a couple of places prior to the startRendering call to ensure I could switch away in time, but still no issue showed up.

Some details about my test set up:
CEGUI SVN v0-7 branch.
Ogre 1.6.4 SDK release.
MSVC++ 2008
nVidia GeForce GTX 275

I'm not sure if there's any changes in the relevant code between the Ogre 1.6.4 release and the svn branch, I would not have thought so.

CE.


Return to “Bug Reports, Suggestions, Feature Requests”

Who is online

Users browsing this forum: No registered users and 6 guests