summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRichard Patching <richard@justaddpixels.com>2022-10-20 20:04:45 +0100
committerRichard Patching <richard@justaddpixels.com>2022-10-20 20:04:45 +0100
commit5de65bb2d7daa6f171e3fd93e6ed24108ecea65f (patch)
tree441a871b036190766414c793a2c5bdd359c2f911 /doc
parenta8c805be2947b211ee8b881d7a8bab7cdc86e170 (diff)
Fix tp_canvas_item typo in _draw_rect_region
Diffstat (limited to 'doc')
-rw-r--r--doc/classes/Texture2D.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/classes/Texture2D.xml b/doc/classes/Texture2D.xml
index 14e89a1b74..3dd8c339b2 100644
--- a/doc/classes/Texture2D.xml
+++ b/doc/classes/Texture2D.xml
@@ -33,7 +33,7 @@
</method>
<method name="_draw_rect_region" qualifiers="virtual const">
<return type="void" />
- <param index="0" name="tp_canvas_item" type="RID" />
+ <param index="0" name="to_canvas_item" type="RID" />
<param index="1" name="rect" type="Rect2" />
<param index="2" name="src_rect" type="Rect2" />
<param index="3" name="modulate" type="Color" />