I have problems making another device at runtime. if i use drop (or not), it create another device. if i call close, the programe close. I know there is no way to change the device settings, but i can not destroy and create another either?
Code: Select all
IrrlichtDevice* pDevice;
pDevice = createDevice(EDT_DIRECT3D9, core::dimension2d<s32>(800,600), 32, true, true, true, &eventReceiver);
pDevice->drop(); //i dont see any diference.
pDevice->closeDevice();//if i use it, the program close
pDevice = createDevice(EDT_DIRECT3D9, core::dimension2d<s32>(640,480), 32, true, true, true, &eventReceiver);