From 3fcaffc96bc00dedf350a0106ee44c74241efc80 Mon Sep 17 00:00:00 2001 From: Ninni Pipping Date: Thu, 13 Apr 2023 10:05:23 +0200 Subject: Fix `Image.compress` description Description mentioned `mode` instead of `source` (cherry picked from commit 6312fe2fae92718560b06c114803b18008a50839) --- doc/classes/Image.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml index 09911d58a8..896f9f9cf5 100644 --- a/doc/classes/Image.xml +++ b/doc/classes/Image.xml @@ -78,7 +78,7 @@ Compresses the image to use less memory. Can not directly access pixel data while the image is compressed. Returns error if the chosen compression mode is not available. - The [param mode] parameter helps to pick the best compression method for DXT and ETC2 formats. It is ignored for ASTC compression. + The [param source] parameter helps to pick the best compression method for DXT and ETC2 formats. It is ignored for ASTC compression. For ASTC compression, the [param astc_format] parameter must be supplied. -- cgit v1.2.3