summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
Diffstat (limited to 'indra')
-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 6a59334c9f..531c70e8d9 100644
--- a/indra/llwindow/llwindowsdl.cpp
+++ b/indra/llwindow/llwindowsdl.cpp
@@ -42,6 +42,8 @@
#include "../newview/llviewercontrol.h"
+extern LLControlGroup gSavedSettings;
+
#if LL_GTK
extern "C" {
# include "gtk/gtk.h"
@@ -1100,7 +1102,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;