mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2025-10-30 08:03:03 +00:00
Fix the previous scissor state bleeding when drawing the RmlUi output onto the swapchain buffer
This commit is contained in:
parent
67e1ddb70b
commit
e44abf27cb
1 changed files with 1 additions and 0 deletions
|
|
@ -638,6 +638,7 @@ public:
|
||||||
list->setGraphicsPipelineLayout(layout_.get());
|
list->setGraphicsPipelineLayout(layout_.get());
|
||||||
list->setGraphicsDescriptorSet(sampler_set_.get(), 0);
|
list->setGraphicsDescriptorSet(sampler_set_.get(), 0);
|
||||||
list->setGraphicsDescriptorSet(screen_descriptor_set_.get(), 1);
|
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_);
|
RT64::RenderVertexBufferView vertex_view(screen_vertex_buffer_.get(), screen_vertex_buffer_size_);
|
||||||
list->setVertexBuffers(0, &vertex_view, 1, &vertex_slot_);
|
list->setVertexBuffers(0, &vertex_view, 1, &vertex_slot_);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue