ParticleSystem works now. Error handler no longer loops forever. :)

This commit is contained in:
rude
2009-08-27 00:48:08 +02:00
parent 37745bf745
commit a237008ce2
7 changed files with 76 additions and 63 deletions
+5
View File
@@ -438,6 +438,11 @@ namespace opengl
return new SpriteBatch(image, size, usage);
}
ParticleSystem * Graphics::newParticleSystem(Image * image, int size)
{
return new ParticleSystem(image, size);
}
void Graphics::setColor(Color c)
{
glColor4ubv(&c.r);