To start of I would like to say I already have used CEGUI with Ogre3D but now I'm trying to compile it in Direct3D 9.
The following code gives a assertion (both the variables are defined in the .cpp file):
Code: Select all
myRenderer = &CEGUI::Direct3D9Renderer::bootstrapSystem( d3ddevice );
mySystem = &CEGUI::System::create(*myRenderer);
Assertion info:
Program: ...
File: c:\Cegui-0.7.5\cegui\include\ceguisingleton.h
Line: 73
Expression: !ms_Singleton
Any idea what the problem could be?