mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-23 19:20:56 +00:00
No need for this ifdef since there is a default argument.
This commit is contained in:
parent
2fb059e2fa
commit
683ad40e21
@ -227,12 +227,8 @@ namespace MWGui
|
||||
// caused a sync / flush and would be expensive).
|
||||
// We're doing this so we can do some actual loading while the GPU is busy with the render.
|
||||
// This means the render is lagging a frame behind, but this is hardly noticable.
|
||||
#if OGRE_VERSION >= (1 << 16 | 9 << 8 | 0)
|
||||
mWindow->swapBuffers();
|
||||
#else
|
||||
// In Ogre 1.8, the swapBuffers argument is useless and setVSyncEnabled is bugged when using GLX. Not much we can do :/
|
||||
mWindow->swapBuffers(false);
|
||||
#endif
|
||||
|
||||
mWindow->update(false);
|
||||
|
||||
if (!hasCompositor)
|
||||
|
Loading…
x
Reference in New Issue
Block a user