Fix minor warnings found with g++.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user