So i have some code that pritty much creates a Irrlicht render with a irrlicht device that i have create
Code: Select all
IrrlichtDevice* device = createDevice(video::EDT_OPENGL, dimension2d<s32>(800, 600), 32,
false, false, false, 0);
device->setWindowCaption(L"Test");
IVideoDriver* driver = device->getVideoDriver();
ISceneManager* smgr = device->getSceneManager();
It crashes on
Code: Select all
renderer = new IrrlichtRenderer(device, false);
new System(renderer);
My problem is it crashes only when i DONT run it in debug mode. It compiles fine and everything. Know of a reason why it would be doing this?
Im using VS9 with irrlicht 1.4.1 and CEGUIs VS9 prebuilt package