mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Fixed the winding order of triangles in SpriteBatches and ParticleSystems.
This commit is contained in:
@@ -355,8 +355,8 @@ void Polyline::draw()
|
||||
indices[i * 6 + 2] = GLushort(i * 4 + 2);
|
||||
|
||||
// Second triangle.
|
||||
indices[i * 6 + 3] = GLushort(i * 4 + 1);
|
||||
indices[i * 6 + 4] = GLushort(i * 4 + 2);
|
||||
indices[i * 6 + 3] = GLushort(i * 4 + 2);
|
||||
indices[i * 6 + 4] = GLushort(i * 4 + 1);
|
||||
indices[i * 6 + 5] = GLushort(i * 4 + 3);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user