summaryrefslogtreecommitdiff
path: root/indra/llrender/llgl.cpp
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-07-15 10:33:16 -0700
committerGraham Linden <graham@lindenlab.com>2019-07-15 10:33:16 -0700
commitddf703611dd6ae7081b12e5be70bc69d44e6a3a2 (patch)
tree91bcae802f33517da6701c563f05e1b4338784ea /indra/llrender/llgl.cpp
parentafdda55b8f6ad58c3e57185d3c352a923f4893aa (diff)
SL-10761
Add code to force a usage hint when VBOs are disabled and make useBVOs reflect that as well.
Diffstat (limited to 'indra/llrender/llgl.cpp')
-rw-r--r--indra/llrender/llgl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/llrender/llgl.cpp b/indra/llrender/llgl.cpp
index c555f556fa..c01c15391d 100644
--- a/indra/llrender/llgl.cpp
+++ b/indra/llrender/llgl.cpp
@@ -2051,7 +2051,8 @@ LLGLState::LLGLState(LLGLenum state, S32 enabled) :
if (mState)
{
mWasEnabled = sStateMap[state];
- llassert(mWasEnabled == glIsEnabled(state));
+ // we can't actually assert on this as queued changes to state are not reflected by glIsEnabled
+ //llassert(mWasEnabled == glIsEnabled(state));
setEnabled(enabled);
stop_glerror();
}