You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Improve HiDPI handling, fix incorrect window viewport clipping.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user