mirror of
https://github.com/love2d/love.git
synced 2026-08-16 16:20:42 +02:00
Particle systems use a GLBuffer internally, instead of direct vertex arrays with glDrawElements.
--HG-- branch : minor
This commit is contained in:
@@ -49,8 +49,7 @@ private:
|
||||
|
||||
void createVertices(size_t numparticles);
|
||||
|
||||
// array of transformed vertex data for all particles, for drawing
|
||||
Vertex *particleVerts;
|
||||
GLBuffer *buffer;
|
||||
|
||||
// Vertex index buffer.
|
||||
QuadIndices quadIndices;
|
||||
|
||||
Reference in New Issue
Block a user