vulkan: fix cull mode in quad drawing code

This commit is contained in:
Sasha Szpakowski
2024-06-17 17:08:31 -03:00
parent 78f8cfc4dc
commit e180b256b8
+1 -1
View File
@@ -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_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(
commandBuffers.at(currentFrame),