honour vsync param
This commit is contained in:
parent
1844ab2a7c
commit
cbf9e03b41
@ -715,8 +715,6 @@ bool COpenGLDriver::initDriver(CIrrDeviceWayland* device)
|
||||
|
||||
genericDriverInit();
|
||||
|
||||
// set vsync
|
||||
// extGlSwapInterval(Params.Vsync ? 1 : 0);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -608,6 +608,7 @@ void CIrrDeviceWayland::initEGL()
|
||||
os::Printer::log("eglMakeCurrent() error", "", ELL_ERROR);
|
||||
}
|
||||
video::useCoreContext = true;
|
||||
eglSwapInterval(egl_display, CreationParams.Vsync ? 1 : 0);
|
||||
}
|
||||
|
||||
bool CIrrDeviceWayland::createWindow()
|
||||
|
Loading…
x
Reference in New Issue
Block a user