diff options
author | Brian Paul <[email protected]> | 2001-03-27 16:42:37 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2001-03-27 16:42:37 +0000 |
commit | 06ed3f0a0af158fc3591771fdeaeac363ced57f6 (patch) | |
tree | 7bce7ff1bb250fb43002181d76598e8d5651482d /src/mesa/main | |
parent | 6dbb39025cac10aac98e37ee72539e3c2a81a161 (diff) |
silence compiler warnings
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/dlist.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index d727a118c2d..06b4dc21f7a 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1,4 +1,4 @@ -/* $Id: dlist.c,v 1.67 2001/03/12 00:48:37 gareth Exp $ */ +/* $Id: dlist.c,v 1.68 2001/03/27 16:42:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -3228,7 +3228,7 @@ static void save_TexImage2D( GLenum target, static void save_TexImage3D( GLenum target, - GLint level, GLint internalFormat, + GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, @@ -3249,7 +3249,7 @@ static void save_TexImage3D( GLenum target, if (n) { n[1].e = target; n[2].i = level; - n[3].i = internalFormat; + n[3].i = (GLint) internalFormat; n[4].i = (GLint) width; n[5].i = (GLint) height; n[6].i = (GLint) depth; |