From 3f86bdd0e60a95b0e5bca2feff4edbbb94eae6a6 Mon Sep 17 00:00:00 2001 From: ICOM725 <113233781+ICOM725@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:10:42 +0800 Subject: [PATCH] Docs: correct texture frame drawing references --- src/gameobjects/rendertexture/RenderTexture.js | 2 +- src/textures/DynamicTexture.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gameobjects/rendertexture/RenderTexture.js b/src/gameobjects/rendertexture/RenderTexture.js index 564152704e..592d2e7387 100644 --- a/src/gameobjects/rendertexture/RenderTexture.js +++ b/src/gameobjects/rendertexture/RenderTexture.js @@ -460,7 +460,7 @@ var RenderTexture = new Class({ * * You can pass in a string in which case it will look for a texture in the Texture * Manager matching that string, and draw the base frame. If you need to specify - * exactly which frame to draw then use the method `drawFrame` instead. + * exactly which frame to draw then use the method `stamp` instead. * * You can pass in the `x` and `y` coordinates to draw the objects at. The use of * the coordinates differ based on what objects are being drawn. If the object is diff --git a/src/textures/DynamicTexture.js b/src/textures/DynamicTexture.js index 854a90a5cd..432c14e69a 100644 --- a/src/textures/DynamicTexture.js +++ b/src/textures/DynamicTexture.js @@ -768,7 +768,7 @@ var DynamicTexture = new Class({ * * You can pass in a string in which case it will look for a texture in the Texture * Manager matching that string, and draw the base frame. If you need to specify - * exactly which frame to draw then use the method `drawFrame` instead. + * exactly which frame to draw then use the method `stamp` instead. * * You can pass in the `x` and `y` coordinates to draw the objects at. The use of * the coordinates differ based on what objects are being drawn. If the object is