1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2025-01-19 05:52:11 +01:00

[d3d9] Enable custom border color features if available

This commit is contained in:
Philip Rebohle 2020-05-04 13:53:08 +02:00
parent 00613d1dc7
commit 263865cf28
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -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;
}