Resizing Irrlicht window

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Mequa
Posts: 13
Joined: Fri Jul 07, 2006 7:39 pm

Resizing Irrlicht window

Post by Mequa »

When using Irrlicht in resizable windowed mode, i.e. using:
device->setResizeAble(true);

How can I find the new size of the Irrlicht window (the width and height)when it is resized?
vitek
Bug Slayer
Posts: 3919
Joined: Mon Jan 16, 2006 10:52 am
Location: Corvallis, OR

Post by vitek »

IVideoDriver::getScreenSize() should tell you what you need.
Post Reply