From 263865cf28ca612e402a88a51163eae4b81ed555 Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Mon, 4 May 2020 13:53:08 +0200 Subject: [PATCH] [d3d9] Enable custom border color features if available --- src/d3d9/d3d9_device.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/d3d9/d3d9_device.cpp b/src/d3d9/d3d9_device.cpp index 645adad05..4f1b71fd2 100644 --- a/src/d3d9/d3d9_device.cpp +++ b/src/d3d9/d3d9_device.cpp @@ -3674,6 +3674,11 @@ namespace dxvk { // Enable depth bounds test if we support it. enabled.core.features.depthBounds = supported.core.features.depthBounds; + if (supported.extCustomBorderColor.customBorderColorWithoutFormat) { + enabled.extCustomBorderColor.customBorderColors = VK_TRUE; + enabled.extCustomBorderColor.customBorderColorWithoutFormat = VK_TRUE; + } + return enabled; }