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_fxt1.c | |
parent | 33ffbd1c58dc8582f67d946f9eb26127e9851a10 (diff) |
Fix minor warnings found with g++.
Diffstat (limited to 'src/mesa/main/texcompress_fxt1.c')
-rw-r--r-- | src/mesa/main/texcompress_fxt1.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/texcompress_fxt1.c b/src/mesa/main/texcompress_fxt1.c index e6545123712..5a37a259c73 100644 --- a/src/mesa/main/texcompress_fxt1.c +++ b/src/mesa/main/texcompress_fxt1.c @@ -106,7 +106,7 @@ texstore_rgb_fxt1(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGB_FXT1_3DFX, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); compress_fxt1(ctx, srcWidth, srcHeight, srcFormat, pixels, srcRowStride, dst, dstRowStride); @@ -161,7 +161,7 @@ texstore_rgba_fxt1(STORE_PARAMS) dst = _mesa_compressed_image_address(dstXoffset, dstYoffset, 0, GL_COMPRESSED_RGBA_FXT1_3DFX, - texWidth, dstAddr); + texWidth, (GLubyte *) dstAddr); compress_fxt1(ctx, srcWidth, srcHeight, srcFormat, pixels, srcRowStride, dst, dstRowStride); @@ -274,5 +274,5 @@ compress_fxt1 (GLcontext *ctx, GLint dstRowStride) { /* here be dragons */ - return -1; + return 0; } |