mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Meshes expose GraphicsBuffers, part 2
This commit is contained in:
@@ -117,7 +117,7 @@ void Video::draw(Graphics *gfx, const Matrix4 &m)
|
||||
Graphics::StreamDrawCommand cmd;
|
||||
cmd.formats[0] = getSinglePositionFormat(is2D);
|
||||
cmd.formats[1] = CommonFormat::STf_RGBAub;
|
||||
cmd.indexMode = TriangleIndexMode::QUADS;
|
||||
cmd.indexMode = TRIANGLEINDEX_QUADS;
|
||||
cmd.vertexCount = 4;
|
||||
cmd.standardShaderType = Shader::STANDARD_VIDEO;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user