summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2022-02-01 14:23:06 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2022-02-01 14:23:06 +0200
commit19281510bce123bfa85a0ec8f564a7ccb8f31aa9 (patch)
treeb1fd268c77c51a878e5cfe62ba8edfe582eff132 /indra/newview
parentdcf8f695367a1bcc9c495ea93a89927dd83802af (diff)
SL-16752 FIXED [Mac] Enabling or disabling vsync does not take effect until the next session.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llviewercontrol.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/llviewercontrol.cpp b/indra/newview/llviewercontrol.cpp
index e53f988c6e..4618871630 100644
--- a/indra/newview/llviewercontrol.cpp
+++ b/indra/newview/llviewercontrol.cpp
@@ -260,9 +260,8 @@ static bool handleAnisotropicChanged(const LLSD& newvalue)
static bool handleVSyncChanged(const LLSD& newvalue)
{
-#if LL_WINDOWS
gViewerWindow->getWindow()->toggleVSync(newvalue.asBoolean());
-#endif
+
return true;
}