remove lineWidth from RasterizerState

cosmonaut 2022-03-14 10:43:01 -07:00 committed by Caleb Cornett
parent f205c26075
commit 8ec7705949
2 changed files with 1 additions and 3 deletions

View File

@ -486,7 +486,6 @@ typedef struct Refresh_RasterizerState
float depthBiasConstantFactor;
float depthBiasClamp;
float depthBiasSlopeFactor;
float lineWidth;
} Refresh_RasterizerState;
typedef struct Refresh_MultisampleState

View File

@ -5848,8 +5848,7 @@ static Refresh_GraphicsPipeline* VULKAN_CreateGraphicsPipeline(
pipelineCreateInfo->rasterizerState.depthBiasClamp;
rasterizationStateCreateInfo.depthBiasSlopeFactor =
pipelineCreateInfo->rasterizerState.depthBiasSlopeFactor;
rasterizationStateCreateInfo.lineWidth =
pipelineCreateInfo->rasterizerState.lineWidth;
rasterizationStateCreateInfo.lineWidth = 1.0f;
/* Multisample */