From a9754793dab4b24c09cae21c29f902ce0e53319a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Wed, 16 Jan 2013 16:20:38 -0800 Subject: mesa: Drop manual checks for outside begin/end. We now have a separate dispatch table for begin/end that prevent these functions from being entered during that time. The ASSERT_OUTSIDE_BEGIN_END_WITH_RETVALs are left because I don't want to change any return values or introduce new error-only stubs at this point. Reviewed-by: Brian Paul Reviewed-by: Ian Romanick --- src/mesa/main/hint.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/mesa/main/hint.c') diff --git a/src/mesa/main/hint.c b/src/mesa/main/hint.c index 83d7966cd59..c2560192a61 100644 --- a/src/mesa/main/hint.c +++ b/src/mesa/main/hint.c @@ -37,7 +37,6 @@ void GLAPIENTRY _mesa_Hint( GLenum target, GLenum mode ) { GET_CURRENT_CONTEXT(ctx); - ASSERT_OUTSIDE_BEGIN_END(ctx); if (MESA_VERBOSE & VERBOSE_API) _mesa_debug(ctx, "glHint %s %s\n", -- cgit v1.2.3