summaryrefslogtreecommitdiffstats
path: root/src/render/Sprite2d.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2019-06-12 21:17:02 +0200
committeraap <aap@papnet.eu>2019-06-12 21:17:02 +0200
commit9703ef9b591430b86c272e0f042b1f50b6cb437c (patch)
tree4e27511538090c8872e80c68cc7f70186eeb01f4 /src/render/Sprite2d.cpp
parentimplemented CCutsceneHead and dependencies (diff)
downloadre3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.gz
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.bz2
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.lz
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.xz
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.tar.zst
re3-9703ef9b591430b86c272e0f042b1f50b6cb437c.zip
Diffstat (limited to '')
-rw-r--r--src/render/Sprite2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/Sprite2d.cpp b/src/render/Sprite2d.cpp
index fd5900b8..3dc1d989 100644
--- a/src/render/Sprite2d.cpp
+++ b/src/render/Sprite2d.cpp
@@ -145,7 +145,7 @@ CSprite2d::Draw(const CRect &rect, const CRGBA &c0, const CRGBA &c1, const CRGBA
void
CSprite2d::Draw(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, const CRGBA &col)
{
- SetVertices(x1, y2, x2, y2, x3, y3, x4, y4, col, col, col, col);
+ SetVertices(x1, y1, x2, y2, x3, y3, x4, y4, col, col, col, col);
SetRenderState();
RwIm2DRenderPrimitive(rwPRIMTYPETRIFAN, CSprite2d::maVertices, 4);
}