mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 14:15:58 +01:00
render/vulkan: fix blend subpass matrix
renderer->render_{width,height} are unused with the render pass API.
This commit is contained in:
parent
fd9e4b860f
commit
150a88bd03
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ static bool render_pass_submit(struct wlr_render_pass *wlr_pass) {
|
|||
vkCmdNextSubpass(render_cb->vk, VK_SUBPASS_CONTENTS_INLINE);
|
||||
|
||||
float final_matrix[9] = {
|
||||
renderer->render_width, 0, -1,
|
||||
0, renderer->render_height, -1,
|
||||
pass->render_buffer->wlr_buffer->width, 0, -1,
|
||||
0, pass->render_buffer->wlr_buffer->height, -1,
|
||||
0, 0, 0,
|
||||
};
|
||||
struct wlr_vk_vert_pcr_data vert_pcr_data = {
|
||||
|
|
Loading…
Reference in a new issue