From d37ebc2bdce583f90e1e598c7a929a435f59c7fc Mon Sep 17 00:00:00 2001 From: halgriffiths Date: Wed, 20 Jul 2022 11:54:52 +0100 Subject: [PATCH] send FLAGS_TRANSPOSE_RECT to Vulkan --- servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp index 7d55be12164..194cbfd7814 100644 --- a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp +++ b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp @@ -528,7 +528,7 @@ void RendererCanvasRenderRD::_render_item(RD::DrawListID p_draw_list, RID p_rend } if (rect->flags & CANVAS_RECT_TRANSPOSE) { - dst_rect.size.x *= -1; // Encoding in the dst_rect.z uniform + push_constant.flags |= FLAGS_TRANSPOSE_RECT; } if (rect->flags & CANVAS_RECT_CLIP_UV) {