Fixed love.graphics.draw(particlesystem, …) to actually use the transformation parameters.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2017-05-17 18:51:42 -03:00
parent ac697ddb0f
commit 955fb9b60c
3 changed files with 5 additions and 5 deletions
@@ -54,9 +54,11 @@ void ParticleSystem::draw(Graphics *gfx, const Matrix4 &m)
{
using namespace vertex;
if (!prepareDraw(gfx, m))
if (!prepareDraw(gfx))
return;
Graphics::TempTransform transform(gfx, m);
if (Shader::current && texture.get())
Shader::current->checkMainTexture(texture);