summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-07-14 23:52:55 +0200
committermobserveur <mobserveur@gmail.com>2024-07-14 23:52:55 +0200
commit16f232bb509dae0d7570d9b815e86f120e596dc0 (patch)
tree9ecd5722cf505005819e316779242ecc53695448
parent99ab1a2c04d5c4283e55f4234633dc53f488e188 (diff)
Vsync fix for Linux
Vsync was activated when the viewer is launched. This should fix the issue.
-rw-r--r--indra/newview/llviewerwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp
index a19d9a3567..e7caf777f5 100644
--- a/indra/newview/llviewerwindow.cpp
+++ b/indra/newview/llviewerwindow.cpp
@@ -2010,6 +2010,8 @@ LLViewerWindow::LLViewerWindow(const Params& p)
mDebugText = new LLDebugText(this);
mWorldViewRectScaled = calcScaledRect(mWorldViewRectRaw, mDisplayScale);
+
+ mWindow->toggleVSync(gSavedSettings.getBOOL("RenderVSyncEnabled"));
}
std::string LLViewerWindow::getLastSnapshotDir()