diff --git a/WickedEngine/wiGraphicsDevice_Vulkan.cpp b/WickedEngine/wiGraphicsDevice_Vulkan.cpp index 6a14a0113..d7e36302e 100644 --- a/WickedEngine/wiGraphicsDevice_Vulkan.cpp +++ b/WickedEngine/wiGraphicsDevice_Vulkan.cpp @@ -4384,7 +4384,7 @@ namespace wiGraphics } rasterizer.frontFace = desc.FrontCounterClockwise ? VK_FRONT_FACE_COUNTER_CLOCKWISE : VK_FRONT_FACE_CLOCKWISE; - rasterizer.depthBiasEnable = desc.DepthBias != 0; + rasterizer.depthBiasEnable = desc.DepthBias != 0 || desc.SlopeScaledDepthBias != 0; rasterizer.depthBiasConstantFactor = static_cast(desc.DepthBias); rasterizer.depthBiasClamp = desc.DepthBiasClamp; rasterizer.depthBiasSlopeFactor = desc.SlopeScaledDepthBias; diff --git a/WickedEngine/wiVersion.cpp b/WickedEngine/wiVersion.cpp index a94e92eab..3714041f7 100644 --- a/WickedEngine/wiVersion.cpp +++ b/WickedEngine/wiVersion.cpp @@ -9,7 +9,7 @@ namespace wiVersion // minor features, major updates const int minor = 36; // minor bug fixes, alterations, refactors, updates - const int revision = 51; + const int revision = 52; long GetVersion()