mirror of
https://github.com/doitsujin/dxvk.git
synced 2024-12-03 04:24:11 +01:00
[d3d11] Fix border color mapping for opaque white
This commit is contained in:
parent
1da6617a73
commit
212bd56b93
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user