From e180b256b8da5b05db43a1a73b3d9ef8c5395f31 Mon Sep 17 00:00:00 2001 From: Sasha Szpakowski Date: Mon, 17 Jun 2024 17:08:31 -0300 Subject: [PATCH] vulkan: fix cull mode in quad drawing code --- src/modules/graphics/vulkan/Graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/graphics/vulkan/Graphics.cpp b/src/modules/graphics/vulkan/Graphics.cpp index 0284e922a..a9f4d58b3 100644 --- a/src/modules/graphics/vulkan/Graphics.cpp +++ b/src/modules/graphics/vulkan/Graphics.cpp @@ -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),