vulkan: fix wireframe validation error

This commit is contained in:
niki
2022-08-01 16:07:37 +02:00
parent 224b9e84f0
commit 98ebdd7871
4 changed files with 13 additions and 12 deletions
+1 -2
View File
@@ -28,7 +28,7 @@ struct GraphicsPipelineConfiguration {
VertexAttributes vertexAttributes;
Shader* shader = nullptr;
PrimitiveType primitiveType = PRIMITIVE_MAX_ENUM;
VkPolygonMode polygonMode = VK_POLYGON_MODE_FILL;
bool wireFrame;
BlendState blendState;
ColorChannelMask colorChannelMask;
Winding winding;
@@ -230,7 +230,6 @@ private:
// just like batchedDrawBuffers we need a vector for each frame in flight.
std::vector<std::vector<std::function<void()>>> cleanUpFunctions;
graphics::Texture* currentTexture = nullptr;
VkPolygonMode currentPolygonMode = VK_POLYGON_MODE_FILL;
// render pass variables.
VkFormat currentFramebufferOutputFormat = VK_FORMAT_UNDEFINED;