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/points.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/mesa/main/points.c') diff --git a/src/mesa/main/points.c b/src/mesa/main/points.c index b5fc5d5bb84..17786408c16 100644 --- a/src/mesa/main/points.c +++ b/src/mesa/main/points.c @@ -44,7 +44,6 @@ void GLAPIENTRY _mesa_PointSize( GLfloat size ) { GET_CURRENT_CONTEXT(ctx); - ASSERT_OUTSIDE_BEGIN_END(ctx); if (size <= 0.0) { _mesa_error( ctx, GL_INVALID_VALUE, "glPointSize" ); @@ -99,7 +98,6 @@ void GLAPIENTRY _mesa_PointParameterfv( GLenum pname, const GLfloat *params) { GET_CURRENT_CONTEXT(ctx); - ASSERT_OUTSIDE_BEGIN_END(ctx); /* Drivers that support point sprites must also support point parameters. * If point parameters aren't supported, then this function shouldn't even -- cgit v1.2.3