diff options
| author | Poommetee Ketson | 2017-07-19 02:03:34 +0700 |
|---|---|---|
| committer | Poommetee Ketson | 2017-07-19 02:03:34 +0700 |
| commit | 49c7620326a557bc809340dd1090b46120e43eac (patch) | |
| tree | 887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /core/image.cpp | |
| parent | 5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff) | |
| download | godot-49c7620326a557bc809340dd1090b46120e43eac.tar.gz godot-49c7620326a557bc809340dd1090b46120e43eac.tar.zst godot-49c7620326a557bc809340dd1090b46120e43eac.zip | |
Diffstat (limited to 'core/image.cpp')
| -rw-r--r-- | core/image.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/image.cpp b/core/image.cpp index 6ab8bb6d4..50dc9c109 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -2245,7 +2245,7 @@ void Image::_bind_methods() { ClassDB::bind_method(D_METHOD("detect_alpha"), &Image::detect_alpha); ClassDB::bind_method(D_METHOD("is_invisible"), &Image::is_invisible); - ClassDB::bind_method(D_METHOD("compress", "mode"), &Image::compress); + ClassDB::bind_method(D_METHOD("compress", "mode", "source", "lossy_quality"), &Image::compress); ClassDB::bind_method(D_METHOD("decompress"), &Image::decompress); ClassDB::bind_method(D_METHOD("is_compressed"), &Image::is_compressed); |
