diff options
Diffstat (limited to 'src/mesa/main/texcompress_s3tc.c')
-rw-r--r-- | src/mesa/main/texcompress_s3tc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/main/texcompress_s3tc.c b/src/mesa/main/texcompress_s3tc.c index 07ca6b0f014..08697f46c42 100644 --- a/src/mesa/main/texcompress_s3tc.c +++ b/src/mesa/main/texcompress_s3tc.c @@ -91,7 +91,7 @@ texstore_rgb_dxt1(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGB_S3TC_DXT1_EXT, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); #if 0 compress_dxt1(ctx, srcWidth, srcHeight, srcFormat, pixels, srcRowStride, @@ -148,7 +148,7 @@ texstore_rgba_dxt1(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGBA_S3TC_DXT1_EXT, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); #if 0 compress_dxt1(ctx, srcWidth, srcHeight, srcFormat, pixels, srcRowStride, dst, dstRowStride); @@ -202,7 +202,7 @@ texstore_rgba_dxt3(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGBA_S3TC_DXT3_EXT, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); #if 0 compress_rgba_dxt3(ctx, srcWidth, srcHeight, pixels, srcRowStride, dst, dstRowStride); @@ -256,7 +256,7 @@ texstore_rgba_dxt5(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGBA_S3TC_DXT5_EXT, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); #if 0 compress_rgba_dxt5(ctx, srcWidth, srcHeight, pixels, srcRowStride, dst, dstRowStride); |