ImageTexture.load returns an error code.

This commit is contained in:
Pieter-Jan Briers
2018-05-12 16:53:45 +02:00
parent 81b1d3c846
commit 622a754584
4 changed files with 11 additions and 6 deletions

View File

@@ -47,12 +47,12 @@
</description>
</method>
<method name="load">
<return type="void">
<return type="int" enum="Error">
</return>
<argument index="0" name="path" type="String">
</argument>
<description>
Load an [code]ImageTexture[/code].
Load an [code]ImageTexture[/code] from a file path.
</description>
</method>
<method name="set_data">