projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e77fc12
)
mesa: remove useless GLenum casts
author
Brian Paul
<brianp@vmware.com>
Fri, 28 Sep 2012 03:00:43 +0000
(21:00 -0600)
committer
Brian Paul
<brianp@vmware.com>
Sat, 29 Sep 2012 14:53:59 +0000
(08:53 -0600)
src/mesa/main/context.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/context.c
b/src/mesa/main/context.c
index 8d5dd1e5bd2cdd468f0890611533bad44316f366..430de75bb1d28af01cee4ac5e349f2d4758c10f9 100644
(file)
--- 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;