1
0
mirror of https://github.com/doitsujin/dxvk.git synced 2024-12-11 10:24:10 +01:00

[d3d11] Fix border color mapping for opaque white

This commit is contained in:
Philip Rebohle 2018-08-02 17:04:09 +02:00
parent 1da6617a73
commit 212bd56b93
No known key found for this signature in database
GPG Key ID: C8CC613427A31C99

View File

@ -56,7 +56,7 @@ namespace dxvk {
const std::array<BorderColorEntry, 3> borderColorMap = {{ const std::array<BorderColorEntry, 3> borderColorMap = {{
{ 0.0f, 0.0f, 0.0f, 0.0f, VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK }, { 0.0f, 0.0f, 0.0f, 0.0f, VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK },
{ 0.0f, 0.0f, 0.0f, 1.0f, VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK }, { 0.0f, 0.0f, 0.0f, 1.0f, VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK },
{ 1.0f, 1.0f, 1.0f, 1.0f, VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK }, { 1.0f, 1.0f, 1.0f, 1.0f, VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE },
}}; }};
for (const auto& e : borderColorMap) { for (const auto& e : borderColorMap) {