diff options
author | Graham Linden <graham@lindenlab.com> | 2019-07-15 10:33:16 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-07-15 10:33:16 -0700 |
commit | ddf703611dd6ae7081b12e5be70bc69d44e6a3a2 (patch) | |
tree | 91bcae802f33517da6701c563f05e1b4338784ea /indra/llrender/llgl.cpp | |
parent | afdda55b8f6ad58c3e57185d3c352a923f4893aa (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.cpp | 3 |
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(); } |