summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorHoward Stearns <howard.stearns@gmail.com>2022-09-02 15:44:19 -0700
committerHoward Stearns <howard.stearns@gmail.com>2022-09-02 15:44:19 -0700
commit013a7130011f72ab0c124dba87376b9862a95461 (patch)
treedd684137892e9430087a698383c6dba9c2fb2b23 /indra/newview
parent88e1740d205bdfaa57d1d5dec4e6e9e755eae075 (diff)
SL-17967 - slightly more meaningful ogl error reporting
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llfeaturemanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llfeaturemanager.cpp b/indra/newview/llfeaturemanager.cpp
index e934041e2e..826d4892ef 100644
--- a/indra/newview/llfeaturemanager.cpp
+++ b/indra/newview/llfeaturemanager.cpp
@@ -607,7 +607,7 @@ void LLFeatureManager::applyFeatures(bool skipFeatures)
void LLFeatureManager::setGraphicsLevel(U32 level, bool skipFeatures)
{
LLViewerShaderMgr::sSkipReload = true;
-
+ flush_glerror(); // Whatever may have already happened (e.g., to cause us to change), don't let confuse it with new initializations.
applyBaseMasks();
// if we're passed an invalid level, default to "Low"