diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-09-29 23:51:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-29 23:51:17 +0200 |
commit | 0378a9ba80dc5083bbafa4a216ed70ea5d450c03 (patch) | |
tree | a156074f100c479eb49c5ac9aa6fce591eefc028 /modules/etc | |
parent | 9768ce5763cd0fdd8c17c8f052e1c65036517768 (diff) | |
parent | 8b2688786f4c294397b2fc9aaa9e2aab1c7c074e (diff) |
Merge pull request #22520 from akien-mga/fix-warnings
Fix warning about functions defined but not used [-Wunused-function]
Diffstat (limited to 'modules/etc')
-rw-r--r-- | modules/etc/image_etc.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/modules/etc/image_etc.cpp b/modules/etc/image_etc.cpp index 57f5b68c61..fbbc765bf2 100644 --- a/modules/etc/image_etc.cpp +++ b/modules/etc/image_etc.cpp @@ -88,14 +88,6 @@ static Etc::Image::Format _image_format_to_etc2comp_format(Image::Format format) } } -static void _decompress_etc1(Image *p_img) { - // not implemented, to be removed -} - -static void _decompress_etc2(Image *p_img) { - // not implemented, to be removed -} - static void _compress_etc(Image *p_img, float p_lossy_quality, bool force_etc1_format, Image::CompressSource p_source) { Image::Format img_format = p_img->get_format(); Image::DetectChannels detected_channels = p_img->get_detected_channels(); @@ -245,8 +237,5 @@ static void _compress_etc2(Image *p_img, float p_lossy_quality, Image::CompressS void _register_etc_compress_func() { Image::_image_compress_etc1_func = _compress_etc1; - //Image::_image_decompress_etc1 = _decompress_etc1; - Image::_image_compress_etc2_func = _compress_etc2; - //Image::_image_decompress_etc2 = _decompress_etc2; } |