From 528e5b9476a3cccf510e3a7537b3e7d2f869a6a3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 8 Jul 2013 09:59:20 -0600 Subject: [PATCH] mesa: s/GLint/GLuint/ to fix MSVC warnings in mipmap.c --- src/mesa/main/mipmap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c index f1e12e8cfa2..edf72572145 100644 --- a/src/mesa/main/mipmap.c +++ b/src/mesa/main/mipmap.c @@ -1885,7 +1885,7 @@ generate_mipmap_uncompressed(struct gl_context *ctx, GLenum target, const struct gl_texture_image *srcImage, GLuint maxLevel) { - GLint level; + GLuint level; GLenum datatype; GLuint comps; @@ -2017,7 +2017,7 @@ generate_mipmap_compressed(struct gl_context *ctx, GLenum target, struct gl_texture_image *srcImage, GLuint maxLevel) { - GLint level; + GLuint level; gl_format temp_format; GLint components; GLuint temp_src_stride; /* in bytes */ -- 2.30.2