From: Brian Paul Date: Fri, 28 Sep 2012 03:00:43 +0000 (-0600) Subject: mesa: remove useless GLenum casts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bd81ebf0855be34e5652abccbcc56b54c5b77265;p=mesa.git mesa: remove useless GLenum casts --- diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index 8d5dd1e5bd2..430de75bb1d 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -797,8 +797,8 @@ init_attrib_groups(struct gl_context *ctx) /* Miscellaneous */ ctx->NewState = _NEW_ALL; ctx->NewDriverState = ~0; - ctx->ErrorValue = (GLenum) GL_NO_ERROR; - ctx->ResetStatus = (GLenum) GL_NO_ERROR; + ctx->ErrorValue = GL_NO_ERROR; + ctx->ResetStatus = GL_NO_ERROR; ctx->varying_vp_inputs = VERT_BIT_ALL; return GL_TRUE;