Module: Mesa Branch: 7.11 Commit: a0eefc9bd0641f4cc3f40f9f92adc7dbd1ed116d URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=a0eefc9bd0641f4cc3f40f9f92adc7dbd1ed116d
Author: Brian Paul <[email protected]> Date: Mon Sep 19 08:13:38 2011 -0600 mesa: generate GL_INVALID_OPERATION in glIsEnabledIndex() between Begin/End (cherry picked from commit 386ec5e80e34e1164d749eee2078f2dfc8ff2b57) --- 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 d3f38ec..35f7645 100644 --- a/src/mesa/main/enable.c +++ b/src/mesa/main/enable.c @@ -1026,6 +1026,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) { _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
