diff options
author | Brian Paul <[email protected]> | 2012-09-27 21:00:43 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-09-29 08:53:59 -0600 |
commit | bd81ebf0855be34e5652abccbcc56b54c5b77265 (patch) | |
tree | bcbde60e733175c4d77b686e89d124118b8920a2 /src/mesa/main/context.c | |
parent | e77fc1279acadcdd3f5278811efdfaf1cd92bbb0 (diff) |
mesa: remove useless GLenum casts
Diffstat (limited to 'src/mesa/main/context.c')
-rw-r--r-- | src/mesa/main/context.c | 4 |
1 files 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; |