mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Improve HiDPI handling, fix incorrect window viewport clipping.
This commit is contained in:
parent
561b431d85
commit
d5df1b651c
2 changed files with 7 additions and 1 deletions
|
@ -5277,7 +5277,7 @@ RenderingDevice::DrawListID RenderingDeviceVulkan::draw_list_begin_for_screen(in
|
|||
scissor.offset.x = 0;
|
||||
scissor.offset.y = 0;
|
||||
scissor.extent.width = size_x;
|
||||
scissor.extent.height = size_x;
|
||||
scissor.extent.height = size_y;
|
||||
|
||||
vkCmdSetScissor(command_buffer, 0, 1, &scissor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue