Explicitly set line width for rasterization state create info (validation error with newer layers)

This commit is contained in:
saschawillems 2016-04-24 13:00:48 +02:00
parent ab8be6731b
commit 23a15ca52b
2 changed files with 2 additions and 0 deletions

View file

@ -688,6 +688,7 @@ public:
rasterizationState.depthClampEnable = VK_FALSE;
rasterizationState.rasterizerDiscardEnable = VK_FALSE;
rasterizationState.depthBiasEnable = VK_FALSE;
rasterizationState.lineWidth = 1.0f;
// Color blend state
// Describes blend modes and color masks