Mesa (master): mesa: s/GLint/GLuint/ to fix MSVC warnings in mipmap.c

Brian Paul brianp at kemper.freedesktop.org
Fri Jul 12 14:31:12 UTC 2013


Module: Mesa
Branch: master
Commit: 528e5b9476a3cccf510e3a7537b3e7d2f869a6a3
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=528e5b9476a3cccf510e3a7537b3e7d2f869a6a3

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul  8 09:59:20 2013 -0600

mesa: s/GLint/GLuint/ to fix MSVC warnings in mipmap.c

---

 src/mesa/main/mipmap.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mesa/main/mipmap.c b/src/mesa/main/mipmap.c
index f1e12e8..edf7257 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 */




More information about the mesa-commit mailing list