1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-11-30 04:24:11 +01:00

[dxvk] Give null values to empty DxvkGraphicsPipelineInstances

Silences an MSVC warning.
This commit is contained in:
Joshua Ashton 2019-06-30 23:55:52 +01:00 committed by Philip Rebohle
parent c381e8a29e
commit 1dadba3cce

View File

@ -136,7 +136,10 @@ namespace dxvk {
public:
DxvkGraphicsPipelineInstance() { }
DxvkGraphicsPipelineInstance()
: m_stateVector (),
m_renderPass (VK_NULL_HANDLE),
m_pipeline (VK_NULL_HANDLE) { }
DxvkGraphicsPipelineInstance(
const DxvkGraphicsPipelineStateInfo& state,
VkRenderPass rp,