diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-07-06 10:08:02 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-07-06 10:08:02 +0800 |
commit | 64b542a33e4f4f53a149808c2f73bc10e03a106e (patch) | |
tree | 4f39c4e45243d52fddf83f5588f2b7913dab2d1f /indra/llwindow/llwindowsdl.cpp | |
parent | f42ebd2c1832129e2f12d72858e6be66552ae1bc (diff) | |
parent | 2c5b4bd61388c4322a1bd87b963c2d13ba194075 (diff) |
Merge branch 'main' into maint-b
Diffstat (limited to 'indra/llwindow/llwindowsdl.cpp')
-rw-r--r-- | indra/llwindow/llwindowsdl.cpp | 4 |
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; |