From e44abf27cb715dfe2606fae25757648b116e9b29 Mon Sep 17 00:00:00 2001 From: Mr-Wiseguy Date: Mon, 14 Apr 2025 03:13:35 -0400 Subject: [PATCH] Fix the previous scissor state bleeding when drawing the RmlUi output onto the swapchain buffer --- src/ui/ui_renderer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/ui_renderer.cpp b/src/ui/ui_renderer.cpp index 7dbab70..fc5fc89 100644 --- a/src/ui/ui_renderer.cpp +++ b/src/ui/ui_renderer.cpp @@ -638,6 +638,7 @@ public: list->setGraphicsPipelineLayout(layout_.get()); list->setGraphicsDescriptorSet(sampler_set_.get(), 0); list->setGraphicsDescriptorSet(screen_descriptor_set_.get(), 1); + list->setScissors(RT64::RenderRect{ 0, 0, window_width_, window_height_ }); RT64::RenderVertexBufferView vertex_view(screen_vertex_buffer_.get(), screen_vertex_buffer_size_); list->setVertexBuffers(0, &vertex_view, 1, &vertex_slot_);