summaryrefslogtreecommitdiff
path: root/indra/llwindow/llwindowmacosx.cpp
diff options
context:
space:
mode:
authormobserveur <mobserveur@gmail.com>2024-07-14 23:49:59 +0200
committermobserveur <mobserveur@gmail.com>2024-07-14 23:49:59 +0200
commitb5ac09bdb43e0f2506d9229e0070c5e8b8792b17 (patch)
treec155397cedef7fc72306dc15ae86c92e99b4cd66 /indra/llwindow/llwindowmacosx.cpp
parent2b1888091acb25bcbd849e9e216f62900c4a032d (diff)
Performance and tuning
Performance and tuning floater updated including fixes
Diffstat (limited to 'indra/llwindow/llwindowmacosx.cpp')
-rw-r--r--indra/llwindow/llwindowmacosx.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/indra/llwindow/llwindowmacosx.cpp b/indra/llwindow/llwindowmacosx.cpp
index 1b8ab27f23..842a41427e 100644
--- a/indra/llwindow/llwindowmacosx.cpp
+++ b/indra/llwindow/llwindowmacosx.cpp
@@ -38,7 +38,6 @@
#include "lldir.h"
#include "indra_constants.h"
-#include "../newview/llviewercontrol.h"
#include <OpenGL/OpenGL.h>
#include <Carbon/Carbon.h>
@@ -1013,19 +1012,6 @@ BOOL LLWindowMacOSX::setSizeImpl(const LLCoordWindow size)
void LLWindowMacOSX::swapBuffers()
{
CGLFlushDrawable(mContext);
-
- U32 mode = gSavedSettings.getU32("MPVBufferOptiMode");
- if (mode == 0)
- {
- if(gGLManager.mIsApple) mode = 2;
- else mode = 1;
- }
- if (mode > 2)
- {
- glClientWaitSync(swapFense, GL_SYNC_FLUSH_COMMANDS_BIT, GL_TIMEOUT_IGNORED);
- glDeleteSync(swapFense);
- swapFense = glFenceSync(GL_SYNC_GPU_COMMANDS_COMPLETE, 0);
- }
}
void LLWindowMacOSX::restoreGLContext()