mesa: fix signed/unsigned comparison warning
This commit is contained in:
parent
c3a57841a3
commit
c67d9cfd9d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue