diff options
author | Brian Paul <[email protected]> | 2012-10-27 08:58:19 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-10-29 17:56:04 -0600 |
commit | db0136ae3e6679c0edfdef00ec55d5ed98346f6c (patch) | |
tree | 9fc5be96d365e2b1fe53b84ce75e61b3e8437272 /src/mesa/main/texstorage.c | |
parent | 298d7a20e1fb5eeed9832ea34f674e12aca59f4c (diff) |
mesa: silence MSVC signed/unsigned comparison warning in texstorage.c
Reviewed-by: Jose Fonseca <[email protected]>
Diffstat (limited to 'src/mesa/main/texstorage.c')
-rw-r--r-- | src/mesa/main/texstorage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texstorage.c b/src/mesa/main/texstorage.c index ca02ef3017d..283aefad308 100644 --- a/src/mesa/main/texstorage.c +++ b/src/mesa/main/texstorage.c @@ -284,7 +284,7 @@ tex_storage_error_check(struct gl_context *ctx, GLuint dims, GLenum target, } /* check levels against maximum (note different error than above) */ - if (levels > _mesa_max_texture_levels(ctx, target)) { + if (levels > (GLint) _mesa_max_texture_levels(ctx, target)) { _mesa_error(ctx, GL_INVALID_OPERATION, "glTexStorage%uD(levels too large)", dims); return GL_TRUE; |