summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llwindow')
-rw-r--r--indra/llwindow/llwindowsdl.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llwindow/llwindowsdl.cpp b/indra/llwindow/llwindowsdl.cpp
index c14a419f0c..83f5e16977 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -40,6 +40,8 @@
#include "../newview/llviewercontrol.h"
+extern LLControlGroup gSavedSettings;
+
#ifdef LL_GLIB
#include <glib.h>
#endif
@@ -1257,7 +1259,7 @@ void LLWindowSDL::swapBuffers()
if (mWindow)
{
SDL_GL_SwapWindow( mWindow );
- U32 mode = gSavedSettings.getU32("MPVBuffMapMode");
+ U32 mode = gSavedSettings.getU32("MPVBufferOptiMode");
if (mode == 0)
{
if(gGLManager.mIsApple) mode = 2;