diff options
author | Brian Paul <[email protected]> | 2012-11-04 16:43:44 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2012-11-06 07:42:37 -0700 |
commit | 0dddf592edad3e9a73c91af0687a688875ab2099 (patch) | |
tree | 44495a3ead92a0ab8e24f84ca109c795fbd7050c /src/mesa/main/texstorage.c | |
parent | 15cb1a9029b8c9fb2c587f285b84d610bd9210ae (diff) |
mesa: silence MSVC signed/unsigned 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 283aefad308..968f6f90408 100644 --- a/src/mesa/main/texstorage.c +++ b/src/mesa/main/texstorage.c @@ -292,7 +292,7 @@ tex_storage_error_check(struct gl_context *ctx, GLuint dims, GLenum target, /* check levels against width/height/depth */ maxDim = MAX3(width, height, depth); - if (levels > _mesa_logbase2(maxDim) + 1) { + if (levels > (GLint) _mesa_logbase2(maxDim) + 1) { _mesa_error(ctx, GL_INVALID_OPERATION, "glTexStorage%uD(too many levels for max texture dimension)", dims); |