mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Move backend-agnostic Mesh and SpriteBatch code out of the opengl implementation folder.
--HG-- branch : minor
This commit is contained in:
@@ -694,6 +694,11 @@ void Graphics::draw(Texture *texture, Quad *quad, const Matrix4 &m)
|
||||
texture->drawq(this, quad, m);
|
||||
}
|
||||
|
||||
void Graphics::drawInstanced(Mesh *mesh, const Matrix4 &m, int instancecount)
|
||||
{
|
||||
mesh->drawInstanced(this, m, instancecount);
|
||||
}
|
||||
|
||||
/**
|
||||
* Primitives (points, shapes, lines).
|
||||
**/
|
||||
|
||||
Reference in New Issue
Block a user