diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-05-17 18:45:56 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2017-05-17 18:45:56 +0200 |
commit | c3baf5eb3cf71c6645e2b721c09d284db0f630b2 (patch) | |
tree | 435332b46956d320be44f2cdc1f6908da971f8a1 /core/image.cpp | |
parent | 98a329670227c726a5d7a196e5cba8dbdd54301b (diff) | |
download | redot-engine-c3baf5eb3cf71c6645e2b721c09d284db0f630b2.tar.gz |
Fix two typos from previous commit
Also cleanup comments on variant types.
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 a490c06275..85ca63be5e 100644 --- a/core/image.cpp +++ b/core/image.cpp @@ -1960,7 +1960,7 @@ void Image::_bind_methods() { ClassDB::bind_method(D_METHOD("get_mipmap_offset", "mipmap"), &Image::get_mipmap_offset); ClassDB::bind_method(D_METHOD("resize_to_po2", "square"), &Image::resize_to_po2, DEFVAL("false")); - ClassDB::bind_method(D_METHOD("resize", "width", "height", "interpolation"), &Image::resize_to_po2, DEFVAL(INTERPOLATE_BILINEAR)); + ClassDB::bind_method(D_METHOD("resize", "width", "height", "interpolation"), &Image::resize, DEFVAL(INTERPOLATE_BILINEAR)); ClassDB::bind_method(D_METHOD("shrink_x2"), &Image::shrink_x2); ClassDB::bind_method(D_METHOD("expand_x2_hq2x"), &Image::expand_x2_hq2x); |