Browse Source

rgtc: fix void pointer arith.

should fix scons build.
tags/android-x86-2.2-r2
Dave Airlie 14 years ago
parent
commit
3f600047d9
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/mesa/main/texcompress_rgtc.c

+ 2
- 2
src/mesa/main/texcompress_rgtc.c View File

@@ -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;

Loading…
Cancel
Save