diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2017-04-24 11:04:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-04-24 11:04:16 +0200 |
| commit | d7578792ca75571cedbf6f4cf98315ec3141e1b6 (patch) | |
| tree | 3e35f189cac469fb81b7450827c3f7037d12792b /modules/webp/image_loader_webp.cpp | |
| parent | 4c147008f33773bb385c6a67b1a7394ddbef6126 (diff) | |
| parent | 515f92d03b6bb4e8a42d5b88d603c96c69d233a4 (diff) | |
Merge pull request #8496 from akien-mga/stdout-cleanup
Fix property warnings and hide some debug prints
Diffstat (limited to 'modules/webp/image_loader_webp.cpp')
| -rw-r--r-- | modules/webp/image_loader_webp.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/modules/webp/image_loader_webp.cpp b/modules/webp/image_loader_webp.cpp index 39c8f812ac..889eac71a7 100644 --- a/modules/webp/image_loader_webp.cpp +++ b/modules/webp/image_loader_webp.cpp @@ -87,9 +87,11 @@ static Image _webp_lossy_unpack(const PoolVector<uint8_t> &p_buffer) { ERR_FAIL_V(Image()); } - //print_line("width: "+itos(features.width)); - //print_line("height: "+itos(features.height)); - //print_line("alpha: "+itos(features.has_alpha)); + /* + print_line("width: "+itos(features.width)); + print_line("height: "+itos(features.height)); + print_line("alpha: "+itos(features.has_alpha)); + */ PoolVector<uint8_t> dst_image; int datasize = features.width * features.height * (features.has_alpha ? 4 : 3); @@ -130,9 +132,11 @@ Error ImageLoaderWEBP::load_image(Image *p_image, FileAccess *f) { ERR_FAIL_V(ERR_FILE_CORRUPT); } + /* print_line("width: " + itos(features.width)); print_line("height: " + itos(features.height)); print_line("alpha: " + itos(features.has_alpha)); + */ src_w = PoolVector<uint8_t>::Write(); |