diff options
| author | Erik Kundiman <erik@megapahit.org> | 2023-12-21 15:35:51 +0800 |
|---|---|---|
| committer | Erik Kundiman <erik@megapahit.org> | 2023-12-21 15:35:51 +0800 |
| commit | 8a6848131d471733bda4bde319850b93afd12327 (patch) | |
| tree | d744f673ab7f9a4bfcfbab241cb32da9a8877eaf /indra/newview/llappviewer.cpp | |
| parent | 7fec9acd4da743145ffd0f248d8804d72ab9ec8b (diff) | |
Force the GL profile to be the core one
on all platforms, not only on Darwin.
Diffstat (limited to 'indra/newview/llappviewer.cpp')
| -rw-r--r-- | indra/newview/llappviewer.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llappviewer.cpp b/indra/newview/llappviewer.cpp index 6240930f14..f8200db18c 100644 --- a/indra/newview/llappviewer.cpp +++ b/indra/newview/llappviewer.cpp @@ -538,11 +538,13 @@ static void settings_to_globals() LLSurface::setTextureSize(gSavedSettings.getU32("RegionTextureSize")); -#if LL_DARWIN +//#if LL_DARWIN LLRender::sGLCoreProfile = true; +/* #else LLRender::sGLCoreProfile = gSavedSettings.getBOOL("RenderGLContextCoreProfile"); #endif +*/ LLRender::sNsightDebugSupport = gSavedSettings.getBOOL("RenderNsightDebugSupport"); LLImageGL::sGlobalUseAnisotropic = gSavedSettings.getBOOL("RenderAnisotropic"); LLImageGL::sCompressTextures = gSavedSettings.getBOOL("RenderCompressTextures"); |
