How to enable vsync!

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
loneryad1
Posts: 1
Joined: Sat Jan 01, 2022 2:59 pm

How to enable vsync!

Post by loneryad1 »

I want to know how to enable vsync im new to this engine
Ilya3000
Posts: 1
Joined: Sun Jan 02, 2022 2:36 pm

Re: How to enable vsync!

Post by Ilya3000 »

You need to set highlighted parameter in device constructor to true
IrrlichtDevice* device = createDevice(video::EDT_OPENGL, core::dimension2d<u32>(640, 480), 32U, false, true, true, 0);
Post Reply