1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-06-07 17:11:56 +00:00

Fix particle rendering bug introduced in 947f55f10b

This commit is contained in:
fgenesis 2025-04-01 05:53:49 +02:00
parent e6063c16a3
commit 65248a274f

View file

@ -273,13 +273,14 @@ void Emitter::onRender(const RenderState& rs) const
glPushMatrix();
glTranslatef(p->pos.x, p->pos.y,0);
glScalef(width * p->scale.x, height * p->scale.y, 0);
glRotatef(p->rot.z, 0, 0, 1);
if (flip)
glRotatef(180, 0, 1, 0);
glScalef(width * p->scale.x, height * p->scale.y, 0);
rquad->render(rs);
glPopMatrix();