CD3DApplication Frame problem

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

chendot
Just popping in
Just popping in
Posts: 10
Joined: Wed Jan 09, 2008 13:22

CD3DApplication Frame problem

Postby chendot » Thu Apr 10, 2008 06:34

Hi, I want to test CEGUI in the old D3D Frame(CD3DApplication frame), I am not familar with this frame :oops: and I get some problem about the device reset.
I added postD3DReset() and preD3DReset() as below. and I've got D3D reset error when I want to resize window or change device.

Code: Select all

HRESULT CSceneDemo::RestoreDeviceObjects()
{   
   m_pDX9Renderer->postD3DReset();
   return S_OK;
}

HRESULT CSceneDemo::InvalidateDeviceObjects()
{
   m_pDX9Renderer->preD3DReset();
   return S_OK;
}


Is that right?

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

Postby CrazyEddie » Thu Apr 10, 2008 08:42

Hi,

I am also unfamiliar with CD3DApplication, however from what I can gather from the member names, it looks like what you are doing should be correct.

Hopefully someone with the required knowledge will be able to confirm or correct this as appropriate :)

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 28 guests