Ensure mesh display cached pipelines are initialised to NULL

This commit is contained in:
baldurk
2019-05-01 21:11:48 +01:00
parent 22dc8b7ba8
commit 83501f8226
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -111,8 +111,8 @@ struct MeshDisplayPipelines
ePipe_Count,
};
ID3D12PipelineState *pipes[ePipe_Count];
ID3D12RootSignature *rootsig;
ID3D12PipelineState *pipes[ePipe_Count] = {};
ID3D12RootSignature *rootsig = NULL;
};
class D3D12DebugManager
+1 -1
View File
@@ -43,7 +43,7 @@ struct MeshDisplayPipelines
ePipe_Count,
};
VkPipeline pipes[ePipe_Count];
VkPipeline pipes[ePipe_Count] = {};
};
struct SPIRVCompilationSettings;