diff options
author | halgriffiths <henrygriffiths@improbable.io> | 2022-07-20 11:54:52 +0100 |
---|---|---|
committer | Henry Griffiths <henrygriffiths@improbable.io> | 2022-07-22 13:49:04 +0100 |
commit | d37ebc2bdce583f90e1e598c7a929a435f59c7fc (patch) | |
tree | 3dde2043c7bc01ba411bbff53d7c7164ac9043c9 /servers/rendering/renderer_rd | |
parent | d2fa9cbdfd43c75cd76917d2c4db26f2489d2717 (diff) |
send FLAGS_TRANSPOSE_RECT to Vulkan
Diffstat (limited to 'servers/rendering/renderer_rd')
-rw-r--r-- | servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp b/servers/rendering/renderer_rd/renderer_canvas_render_rd.cpp index 7d55be1216..194cbfd781 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) { |