summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-07-08 09:59:20 -0600
committerBrian Paul <[email protected]>2013-07-12 08:19:49 -0600
commit528e5b9476a3cccf510e3a7537b3e7d2f869a6a3 (patch)
tree26e19f2160fe2c023d664dd12d5610e08b345ec4 /src/mesa
parent738337356be7b138af98c01a55279c5a940833d9 (diff)
mesa: s/GLint/GLuint/ to fix MSVC warnings in mipmap.c
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/mipmap.c4
1 files 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 */