mirror of
https://github.com/love2d/love.git
synced 2026-08-15 07:41:11 +02:00
Moved the Texture and Quad Lua wrapper files out of the opengl graphics implementation folder.
--HG-- branch : minor
This commit is contained in:
@@ -876,7 +876,7 @@ void ParticleSystem::draw(float x, float y, float angle, float sx, float sy, flo
|
||||
p = p->next;
|
||||
}
|
||||
|
||||
texture->predraw();
|
||||
gl.bindTexture(*(GLuint *) texture->getHandle());
|
||||
gl.prepareDraw();
|
||||
|
||||
glEnableVertexAttribArray(ATTRIB_COLOR);
|
||||
@@ -896,8 +896,6 @@ void ParticleSystem::draw(float x, float y, float angle, float sx, float sy, flo
|
||||
glDisableVertexAttribArray(ATTRIB_POS);
|
||||
glDisableVertexAttribArray(ATTRIB_COLOR);
|
||||
|
||||
texture->postdraw();
|
||||
|
||||
gl.setColor(curcolor);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user