mirror of
https://github.com/love2d/love.git
synced 2026-08-20 20:49:54 +02:00
vulkan: fix cull mode in quad drawing code
This commit is contained in:
@@ -935,7 +935,7 @@ void Graphics::drawQuads(int start, int count, const VertexAttributes &attribute
|
|||||||
const int MAX_VERTICES_PER_DRAW = LOVE_UINT16_MAX;
|
const int MAX_VERTICES_PER_DRAW = LOVE_UINT16_MAX;
|
||||||
const int MAX_QUADS_PER_DRAW = MAX_VERTICES_PER_DRAW / 4;
|
const int MAX_QUADS_PER_DRAW = MAX_VERTICES_PER_DRAW / 4;
|
||||||
|
|
||||||
prepareDraw(attributes, buffers, texture, PRIMITIVE_TRIANGLES, CULL_BACK);
|
prepareDraw(attributes, buffers, texture, PRIMITIVE_TRIANGLES, CULL_NONE);
|
||||||
|
|
||||||
vkCmdBindIndexBuffer(
|
vkCmdBindIndexBuffer(
|
||||||
commandBuffers.at(currentFrame),
|
commandBuffers.at(currentFrame),
|
||||||
|
|||||||
Reference in New Issue
Block a user