summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.h
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2021-11-17 17:51:50 +0200
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2021-11-17 17:51:50 +0200
commitfdeeb0190eb6fa2d6b39816d14a664f5d38aa4ec (patch)
treefc8f807b4e1ad7e74a14d5989c9bf89cb9e194e1 /indra/llwindow/llwindowmacosx.h
parent4745aab37647956cf92e760df525d5fe64f47908 (diff)
SL-16330 Allow vsync update without restart on mac
Diffstat (limited to 'indra/llwindow/llwindowmacosx.h')
-rw-r--r--indra/llwindow/llwindowmacosx.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.h b/indra/llwindow/llwindowmacosx.h
index 18fa86930f..b0f339e1db 100644
--- a/indra/llwindow/llwindowmacosx.h
+++ b/indra/llwindow/llwindowmacosx.h
@@ -140,6 +140,8 @@ public:
//Must be called on the same thread that called createSharedContext()
void destroySharedContext(void* context) override;
+ void toggleVSync(bool enable_vsync) override;
+
protected:
LLWindowMacOSX(LLWindowCallbacks* callbacks,
const std::string& title, const std::string& name, int x, int y, int width, int height, U32 flags,