diff options
Diffstat (limited to 'render/vulkan')
-rw-r--r-- | render/vulkan/pass.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/render/vulkan/pass.c b/render/vulkan/pass.c index 7ac5cf95..bfb3628f 100644 --- a/render/vulkan/pass.c +++ b/render/vulkan/pass.c @@ -550,6 +550,8 @@ static void render_pass_add_texture(struct wlr_render_pass *wlr_pass, .filter_mode = options->filter_mode, }, .texture_transform = texture->transform, + .blend_mode = !texture->has_alpha && alpha == 1.0 ? + WLR_RENDER_BLEND_MODE_NONE : options->blend_mode, }); if (!pipe) { pass->failed = true; |