From bd81ebf0855be34e5652abccbcc56b54c5b77265 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 27 Sep 2012 21:00:43 -0600 Subject: [PATCH] mesa: remove useless GLenum casts --- src/mesa/main/context.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2