Closed nhurde closed 6 months ago
Merged via https://github.com/pawbyte/Game-Pencil-Engine-Editor/pull/159
Module implementations would be next.
Re-opened issue. Should just rename the overloaded function to render_tex_quad_clipped for the clipped version. render_tex_quad existed already, was mistakenly looking for render_quad signature to be more of a 1:1 with sprite, but function names can differ.
This implementation will be nearly 1:1 for Sprite/Animation Render Texture Quads, the main difference is that it can or not accept a sub-rectangle or kept null for the full width of the texture.
Texture target may not need to be changed since it's rendering the texture itself.