From 683ad40e219f30650440ddee577cec14cf30e4fe Mon Sep 17 00:00:00 2001 From: scrawl Date: Sun, 13 Oct 2013 18:28:22 +0200 Subject: [PATCH] No need for this ifdef since there is a default argument. --- apps/openmw/mwgui/loadingscreen.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/apps/openmw/mwgui/loadingscreen.cpp b/apps/openmw/mwgui/loadingscreen.cpp index d2ebcd109d..4bd383c2f3 100644 --- a/apps/openmw/mwgui/loadingscreen.cpp +++ b/apps/openmw/mwgui/loadingscreen.cpp @@ -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)