projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a163cf
)
rgtc: fix void pointer arith.
author
Dave Airlie
<airlied@redhat.com>
Mon, 28 Feb 2011 20:47:00 +0000
(06:47 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 28 Feb 2011 20:47:00 +0000
(06:47 +1000)
should fix scons build.
src/mesa/main/texcompress_rgtc.c
patch
|
blob
|
history
diff --git
a/src/mesa/main/texcompress_rgtc.c
b/src/mesa/main/texcompress_rgtc.c
index b7725f4a98fa9e3f23c80444ac0a0958efbb35e8..1a01755f14d5f5b2262544512f1d5bae37167069 100644
(file)
--- a/
src/mesa/main/texcompress_rgtc.c
+++ b/
src/mesa/main/texcompress_rgtc.c
@@
-88,7
+88,7
@@
_mesa_texstore_red_rgtc1(TEXSTORE_PARAMS)
const GLchan *tempImage = NULL;
int i, j;
int numxpixels, numypixels;
- const
void
*srcaddr;
+ const
GLchan
*srcaddr;
GLubyte srcpixels[4][4];
GLubyte *blkaddr;
GLint dstRowDiff;
@@
-197,7
+197,7
@@
_mesa_texstore_rg_rgtc2(TEXSTORE_PARAMS)
const GLchan *tempImage = NULL;
int i, j;
int numxpixels, numypixels;
- const
void
*srcaddr;
+ const
GLchan
*srcaddr;
GLubyte srcpixels[4][4];
GLubyte *blkaddr;
GLint dstRowDiff;