projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3a5784
)
mesa: fix signed/unsigned comparison warning
author
Brian Paul
<brianp@vmware.com>
Tue, 29 Nov 2011 14:33:47 +0000
(07:33 -0700)
committer
Brian Paul
<brianp@vmware.com>
Wed, 30 Nov 2011 13:57:37 +0000
(06:57 -0700)
src/mesa/main/transformfeedback.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/transformfeedback.c
b/src/mesa/main/transformfeedback.c
index b5fb98ecb27998404b3a5341db7a9a0152ee3152..11abd037d5c2332c77f353bba67fcabb58df894f 100644
(file)
--- a/
src/mesa/main/transformfeedback.c
+++ b/
src/mesa/main/transformfeedback.c
@@
-614,7
+614,7
@@
_mesa_TransformFeedbackVaryings(GLuint program, GLsizei count,
if (count < 0 ||
(bufferMode == GL_SEPARATE_ATTRIBS &&
- count > ctx->Const.MaxTransformFeedbackSeparateAttribs)) {
+
(GLuint)
count > ctx->Const.MaxTransformFeedbackSeparateAttribs)) {
_mesa_error(ctx, GL_INVALID_VALUE,
"glTransformFeedbackVaryings(count=%d)", count);
return;