Skip to content

Commit

Permalink
[reshade] zero initialize VkPipelineDepthStencilStateCreateInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
DadSchoorse committed Jan 4, 2020
1 parent 7fb453b commit f2519c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/effect_reshade.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ namespace vkBasalt
dynamicStateCreateInfo.dynamicStateCount = 0;
dynamicStateCreateInfo.pDynamicStates = nullptr;

VkPipelineDepthStencilStateCreateInfo depthStencilStateCreateInfo;
VkPipelineDepthStencilStateCreateInfo depthStencilStateCreateInfo = {};
depthStencilStateCreateInfo.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO;
depthStencilStateCreateInfo.pNext = nullptr;
depthStencilStateCreateInfo.depthTestEnable = VK_FALSE;
Expand Down

0 comments on commit f2519c6

Please sign in to comment.