summaryrefslogtreecommitdiff
path: root/indra/llwindow
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-07-06 04:04:26 +0200
committermobserveur <mobserveur@gmail.com>2024-07-06 04:04:26 +0200
commit2c5b4bd61388c4322a1bd87b963c2d13ba194075 (patch)
tree79b87f2f239cdb5dbcc4ec4bdb87368e795a772a /indra/llwindow
parentef34f2860a02ee5a129c17f3b210b8d470c1b700 (diff)
buffer optimisation llwindowsdl.cpp fix
This commit fixes a gSavedSettings variable call
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 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;