From 1dadba3cce86547bce07cfc3a9edbcbb2bc24696 Mon Sep 17 00:00:00 2001 From: Joshua Ashton Date: Sun, 30 Jun 2019 23:55:52 +0100 Subject: [PATCH] [dxvk] Give null values to empty DxvkGraphicsPipelineInstances Silences an MSVC warning. --- src/dxvk/dxvk_graphics.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dxvk/dxvk_graphics.h b/src/dxvk/dxvk_graphics.h index e5686950..8b80dbfc 100644 --- a/src/dxvk/dxvk_graphics.h +++ b/src/dxvk/dxvk_graphics.h @@ -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,