diff options
-rw-r--r-- | src/mesa/main/enable.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/main/enable.c b/src/mesa/main/enable.c index 2d857c1481c..ba24ca77c53 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1016,6 +1016,7 @@ GLboolean GLAPIENTRY _mesa_IsEnabledIndexed( GLenum cap, GLuint index ) { GET_CURRENT_CONTEXT(ctx); + ASSERT_OUTSIDE_BEGIN_END_WITH_RETVAL(ctx, 0); switch (cap) { case GL_BLEND: if (index >= ctx->Const.MaxDrawBuffers) { |