mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 12:55:58 +01:00
renderer/vulkan: don't add two alphas together in blend func
This commit is contained in:
parent
bfc42e0f62
commit
47bf87ade2
1 changed files with 1 additions and 1 deletions
|
@ -2204,7 +2204,7 @@ struct wlr_vk_pipeline *setup_get_or_create_pipeline(
|
||||||
.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
|
.dstColorBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
|
||||||
.colorBlendOp = VK_BLEND_OP_ADD,
|
.colorBlendOp = VK_BLEND_OP_ADD,
|
||||||
.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE,
|
.srcAlphaBlendFactor = VK_BLEND_FACTOR_ONE,
|
||||||
.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE,
|
.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA,
|
||||||
.alphaBlendOp = VK_BLEND_OP_ADD,
|
.alphaBlendOp = VK_BLEND_OP_ADD,
|
||||||
.colorWriteMask =
|
.colorWriteMask =
|
||||||
VK_COLOR_COMPONENT_R_BIT |
|
VK_COLOR_COMPONENT_R_BIT |
|
||||||
|
|
Loading…
Reference in a new issue