mirror of
https://github.com/love2d/love.git
synced 2026-08-14 01:20:56 +02:00
Cleaned up some index buffer code.
This commit is contained in:
@@ -209,7 +209,7 @@ void ParticleSystem::setBufferSize(uint32 size)
|
||||
{
|
||||
if (size == 0 || size > MAX_PARTICLES)
|
||||
throw love::Exception("Invalid buffer size");
|
||||
quadIndices = VertexIndex(size);
|
||||
quadIndices = QuadIndices(size);
|
||||
deleteBuffers();
|
||||
createBuffers(size);
|
||||
reset();
|
||||
|
||||
Reference in New Issue
Block a user