This isn't going to be used in the actual implemenation of glGetGraphicsResetStatus. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com>tags/mesa-10.1-devel
@@ -808,7 +808,6 @@ init_attrib_groups(struct gl_context *ctx) | |||
ctx->NewState = _NEW_ALL; | |||
ctx->NewDriverState = ~0; | |||
ctx->ErrorValue = GL_NO_ERROR; | |||
ctx->ResetStatus = GL_NO_ERROR; | |||
ctx->varying_vp_inputs = VERT_BIT_ALL; | |||
return GL_TRUE; |
@@ -305,7 +305,7 @@ GLenum GLAPIENTRY | |||
_mesa_GetGraphicsResetStatusARB( void ) | |||
{ | |||
GET_CURRENT_CONTEXT(ctx); | |||
GLenum status = ctx->ResetStatus; | |||
GLenum status = GL_NO_ERROR; | |||
if (MESA_VERBOSE & VERBOSE_API) | |||
_mesa_debug(ctx, "glGetGraphicsResetStatusARB" |
@@ -3903,9 +3903,6 @@ struct gl_context | |||
GLenum ErrorValue; /**< Last error code */ | |||
/* GL_ARB_robustness */ | |||
GLenum ResetStatus; | |||
/** | |||
* Recognize and silence repeated error debug messages in buggy apps. | |||
*/ |