So here is my problem: if I try to enable vsync using DIRECT3D9-device, it doesn´t work.
Can anyone tell me, what I have to do to enable that vsync?
Vsync doesn´t work with DIRECT3D9
Vsync doesn´t work with DIRECT3D9
Dattebayo!!
So if vsync is working, the frame rate should be locked in to the refresh rate, right? Here's what I have:
And it still doesn't seem to work. Any help?
irr::SIrrlichtCreationParameters param;
param.WindowId = reinterpret_cast<s32>(g_hMainWnd);
param.DriverType = video::EDT_DIRECT3D9 ;
param.EventReceiver = receiver;
param.Fullscreen = true;
param.Bits = 32;
param.Vsync = true;
device = irr::createDeviceEx(param);
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
What is the refresh rate you can see? As said elsewhere there is no chance to get Irrlicht render faster by setting Vsync. So if the FPS are lower than your refresh rate this is ok. Only if it's faster then your refresh rate it might be a problem. In case check your driver settings (in display->properties->extended of the MS control) and see if you force the driver to disable vsync globally.