mesa: fix signed/unsigned comparison warning

This commit is contained in:
Brian Paul 2011-11-29 07:33:47 -07:00
parent c3a57841a3
commit c67d9cfd9d
1 changed files with 1 additions and 1 deletions

View File

@ -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;