From c3baf5eb3cf71c6645e2b721c09d284db0f630b2 Mon Sep 17 00:00:00 2001 From: Rémi Verschelde Date: Wed, 17 May 2017 18:45:56 +0200 Subject: Fix two typos from previous commit Also cleanup comments on variant types. --- core/image.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/image.cpp') diff --git a/core/image.cpp b/core/image.cpp index a490c0627..85ca63be5 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); -- cgit v1.2.3-70-g09d2