diff options
author | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2004-05-04 15:11:06 +0000 |
commit | bdd15b5749b45929fa642c3e47997f52eb07fbe5 (patch) | |
tree | 103b77f6cd3e845f0816092a7e21a57ec6f98a2c /src/mesa/main/texcompress_s3tc.c | |
parent | 33ffbd1c58dc8582f67d946f9eb26127e9851a10 (diff) |
Fix minor warnings found with g++.
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); |