Mesa (master): mesa: s/GLuint/GLint/ to silence MSVC warning in textore.c

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


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

Author: Brian Paul <brianp at vmware.com>
Date:   Mon Jul  8 10:00:01 2013 -0600

mesa: s/GLuint/GLint/ to silence MSVC warning in textore.c

---

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

diff --git a/src/mesa/main/texstore.c b/src/mesa/main/texstore.c
index 9b66ad5..04385e1 100644
--- a/src/mesa/main/texstore.c
+++ b/src/mesa/main/texstore.c
@@ -4143,7 +4143,7 @@ _mesa_store_compressed_texsubimage(struct gl_context *ctx, GLuint dims,
    const GLubyte *src;
    const gl_format texFormat = texImage->TexFormat;
    GLuint bw, bh;
-   GLuint slice;
+   GLint slice;
 
    if (dims == 1) {
       _mesa_problem(ctx, "Unexpected 1D compressed texsubimage call");




More information about the mesa-commit mailing list