Page 1 of 1

Resolution probs

Posted: Fri Jan 18, 2008 2:57 am
by Blade
Hi,

I run the irrlicht device in another window and want to resize it when the window size changes. therefore i call DRIVER->OnResize(..).
Unfortunatetly it doesn't work and the direct3d device is just throwing this error:
Could not reset Direct3D device

i'm using the Direct3D9 device btw. does anybody know where this error comes from?

and another question: how is resolution changed in irrlicht fullscreen mode? can i change to fullscreen during runtime?

thx

Posted: Fri Jan 18, 2008 9:25 am
by hybrid
I think the reason for the error is that you have created RTTs, which would have to be recreated for this case. You cannot change the fullscreen/windowed setting (except for by using the OS, in which case you will also face problems with device resetting), you have to create a new device with new settings.

Posted: Sat Jan 19, 2008 1:17 am
by Blade
yes, i've created RTTs. thx