Multiple irrlichtdevices
Posted: Sat Aug 07, 2010 3:59 pm
Hi, I want to create a "launcher" for my game which will be run before the actual game.
I want to create a separate irrlichtdevice for the launcher and then abandon it and after that create the actual game device.
But if I use
in the launcher's destructor the launcher window will close, but afterwards the actual game irrlichtdevice will immediately return false in device->run(), thus terminating the whole game at launch
EDIT: Yes, I'm aware this is done in the Demo-example of Irrlicht but there it only drops the device pointer, which in my case does nothing :S
I want to create a separate irrlichtdevice for the launcher and then abandon it and after that create the actual game device.
But if I use
Code: Select all
device->closeDevice();
device->drop();
EDIT: Yes, I'm aware this is done in the Demo-example of Irrlicht but there it only drops the device pointer, which in my case does nothing :S