diff options
author | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2022-06-08 03:15:59 +0300 |
---|---|---|
committer | Mnikolenko ProductEngine <mnikolenko@productengine.com> | 2022-06-08 03:15:59 +0300 |
commit | 76c8a7ff0b57e7856613960391be7c400384183b (patch) | |
tree | 7251ea332935201aa63cce3523d373295e485f56 /indra/llwindow/llwindowmacosx.cpp | |
parent | ba9bff5b9bdd7904916c3ae844840c87376498c3 (diff) |
SL-17541 show the message on mac
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r-- | indra/llwindow/llwindowmacosx.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp index bc4f07941b..b3616e4ea8 100644 --- a/indra/llwindow/llwindowmacosx.cpp +++ b/indra/llwindow/llwindowmacosx.cpp @@ -660,6 +660,8 @@ BOOL LLWindowMacOSX::createContext(int x, int y, int width, int height, int bits } } + mRefreshRate = CGDisplayModeGetRefreshRate(CGDisplayCopyDisplayMode(mDisplay)); + // Disable vertical sync for swap toggleVSync(enable_vsync); |