summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-03-01 06:47:00 +1000
committerDave Airlie <[email protected]>2011-03-01 06:47:00 +1000
commit3f600047d95f46995915d46aff574796d088fa83 (patch)
tree7318ee5d3009d803ce1dc42daf1e4362a66c670f /src/mesa
parent0a163cf56d1e412629cb802480998a982a47bb3c (diff)
rgtc: fix void pointer arith.
should fix scons build.
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texcompress_rgtc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/main/texcompress_rgtc.c b/src/mesa/main/texcompress_rgtc.c
index b7725f4a98f..1a01755f14d 100644
--- 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;