mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2024-10-30 07:30:46 +00: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
@ -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 New Issue
Block a user