projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b1e52
)
silence a GLchan=GLfloat warning with a cast
author
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 4 Mar 2003 19:16:23 +0000
(19:16 +0000)
committer
Brian Paul
<brian.paul@tungstengraphics.com>
Tue, 4 Mar 2003 19:16:23 +0000
(19:16 +0000)
src/mesa/main/texstore.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texstore.c
b/src/mesa/main/texstore.c
index b20e6933805182d9591f0a2e81146b0c3e96534c..117696896eb183c590eafa94c6f2fb5eb4306ad7 100644
(file)
--- a/
src/mesa/main/texstore.c
+++ b/
src/mesa/main/texstore.c
@@
-1,4
+1,4
@@
-/* $Id: texstore.c,v 1.5
3 2003/02/25 19:25:52
brianp Exp $ */
+/* $Id: texstore.c,v 1.5
4 2003/03/04 19:16:23
brianp Exp $ */
/*
* Mesa 3-D graphics library
@@
-2104,7
+2104,7
@@
_mesa_generate_mipmap(GLcontext *ctx, GLenum target,
_mesa_compress_teximage(ctx,
dstWidth, dstHeight, /* size */
srcFormat, /* source format */
-
dstData, /* source buffer */
+
(const GLchan *)
dstData, /* source buffer */
dstWidth, /* source row stride */
dstImage->TexFormat, /* dest format */
(GLubyte*) dstImage->Data, /* dest buffer */