mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-21 11:23:51 +00:00
No need for this ifdef since there is a default argument.
This commit is contained in:
parent
2fb059e2fa
commit
683ad40e21
1 changed files with 1 additions and 5 deletions
|
@ -227,12 +227,8 @@ namespace MWGui
|
||||||
// caused a sync / flush and would be expensive).
|
// 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.
|
// 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.
|
// This means the render is lagging a frame behind, but this is hardly noticable.
|
||||||
#if OGRE_VERSION >= (1 << 16 | 9 << 8 | 0)
|
|
||||||
mWindow->swapBuffers();
|
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);
|
mWindow->update(false);
|
||||||
|
|
||||||
if (!hasCompositor)
|
if (!hasCompositor)
|
||||||
|
|
Loading…
Reference in a new issue