mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 02:28:10 +02:00
mesa: silence MSVC signed/unsigned warning in texstorage.c
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
This commit is contained in:
parent
15cb1a9029
commit
0dddf592ed
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue