summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-06-15 11:00:36 +0200
committerGitHub <noreply@github.com>2020-06-15 11:00:36 +0200
commit808e0d3693c741edbaedfb7f4bf6482b21cfa327 (patch)
tree9df1f55741e8b5a21cbbbe8ee31c683030afe193 /doc
parent2ffc570417a850578a6f33bd2b93ec29194e7541 (diff)
parent09b324b5b6b956efb2b4a60bd73916bbaf6ff10f (diff)
Merge pull request #39521 from 31/fix-image-createfromdata
Fix Image.create_from_data "use_mipmaps" class doc
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Image.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Image.xml b/doc/classes/Image.xml
index aa8c8d2443..d29fcfd96f 100644
--- a/doc/classes/Image.xml
+++ b/doc/classes/Image.xml
@@ -154,7 +154,7 @@
<argument index="4" name="data" type="PackedByteArray">
</argument>
<description>
- Creates a new image of given size and format. See [enum Format] constants. Fills the image with the given raw data. If [code]use_mipmaps[/code] is [code]true[/code] then generate mipmaps for this image. See the [method generate_mipmaps].
+ Creates a new image of given size and format. See [enum Format] constants. Fills the image with the given raw data. If [code]use_mipmaps[/code] is [code]true[/code] then loads mipmaps for this image from [code]data[/code]. See [method generate_mipmaps].
</description>
</method>
<method name="crop">