Browse Source

vulkan: fix cull mode in quad drawing code

Sasha Szpakowski 1 year ago
parent
commit
e180b256b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/modules/graphics/vulkan/Graphics.cpp

+ 1 - 1
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_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),