From 47166eba9e77130835d4a7ba5d116f538b50d375 Mon Sep 17 00:00:00 2001 From: Maxim Nikolenko Date: Mon, 28 Nov 2022 16:14:31 +0200 Subject: SL-18362 FIXED Login screen is black on Mac --- indra/newview/llappviewer.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'indra/newview/llappviewer.cpp') 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"); -- cgit v1.2.3