aboutsummaryrefslogtreecommitdiff
path: root/core/image.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-19 10:00:20 +0200
committerGitHub2017-07-19 10:00:20 +0200
commitc5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2 (patch)
tree540f8232f44a6fdc0646a6f3410fb644922d5cab /core/image.cpp
parent1f91c2908e7c551c20dc00d88212e0aaad44f4cf (diff)
parent49c7620326a557bc809340dd1090b46120e43eac (diff)
downloadgodot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.gz
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.zst
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.zip
Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
Diffstat (limited to 'core/image.cpp')
-rw-r--r--core/image.cpp2
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);