Assertion given when creating System under Direct3D 9
Posted: Sun Feb 13, 2011 22:42
Hey! This is my first post on the official CEGUI forums!
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):
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?
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?