summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMaxim Nikolenko <maximnproductengine@lindenlab.com>2022-11-28 16:14:31 +0200
committerMnikolenko Productengine <mnikolenko@productengine.com>2022-11-28 18:40:52 +0200
commit47166eba9e77130835d4a7ba5d116f538b50d375 (patch)
treebac3a6fa113cea2aa8975fbe3500da4916955d81 /indra
parent159d4f9cd0537cab5a87a873a172c571d02d4afc (diff)
SL-18362 FIXED Login screen is black on Mac
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llappviewer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp
index efc2726785..6e0bbb05ee 100644
--- a/indra/newview/llappviewer.cpp
+++ b/indra/newview/llappviewer.cpp
@@ -529,7 +529,11 @@ static void settings_to_globals()
LLSurface::setTextureSize(gSavedSettings.getU32("RegionTextureSize"));
+#if LL_DARWIN
+ LLRender::sGLCoreProfile = true;
+#else
LLRender::sGLCoreProfile = gSavedSettings.getBOOL("RenderGLContextCoreProfile");
+#endif
LLRender::sNsightDebugSupport = gSavedSettings.getBOOL("RenderNsightDebugSupport");
LLVertexBuffer::sUseVAO = gSavedSettings.getBOOL("RenderUseVAO");
LLImageGL::sGlobalUseAnisotropic = gSavedSettings.getBOOL("RenderAnisotropic");