Ensure mesh display cached pipelines are initialised to NULL

This commit is contained in:
baldurk committed 2019-05-01 21:11:48 +01:00
1 parent 22dc8b7ba8
commit 83501f8226
2 files changed
+3 -3

No files matched your search

+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;