mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Set alphaBlendOp correctly.
This commit is contained in:
parent
b87106e61a
commit
f09338b1b8
@ -323,7 +323,7 @@ static void vulkan_init_pipelines(vk_t *vk)
|
||||
blend_attachment.colorBlendOp = VK_BLEND_OP_ADD;
|
||||
blend_attachment.srcAlphaBlendFactor = VK_BLEND_FACTOR_SRC_ALPHA;
|
||||
blend_attachment.dstAlphaBlendFactor = VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA;
|
||||
blend_attachment.colorBlendOp = VK_BLEND_OP_ADD;
|
||||
blend_attachment.alphaBlendOp = VK_BLEND_OP_ADD;
|
||||
|
||||
vkCreateGraphicsPipelines(vk->context->device, vk->pipelines.cache,
|
||||
1, &pipe, NULL, &vk->pipelines.alpha_blend);
|
||||
|
Loading…
x
Reference in New Issue
Block a user