From 079680f868c1ec09013e62efde42fdd95cc1347c Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Mon, 15 Apr 2019 21:41:20 -0700 Subject: Fixed issue with FenceVkImpl not waiting for Vulkan fences to signal when being destroyed, which causes Vulkan validation errors. --- Common/interface/AdvancedMath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Common/interface') diff --git a/Common/interface/AdvancedMath.h b/Common/interface/AdvancedMath.h index 0481b22e..7d16d695 100644 --- a/Common/interface/AdvancedMath.h +++ b/Common/interface/AdvancedMath.h @@ -33,7 +33,7 @@ namespace Diligent struct Plane3D { float3 Normal; - float Distance; //Distance from the coordinate system origin to the plane along the normal direction + float Distance = 0; //Distance from the coordinate system origin to the plane along the normal direction }; struct ViewFrustum -- cgit v1.2.3