diff options
author | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2019-10-14 11:30:27 +0300 |
---|---|---|
committer | bruvzg <7645683+bruvzg@users.noreply.github.com> | 2020-02-11 12:04:04 +0100 |
commit | d5df1b651c9f2c21a38ceb4fd00e8844e66ef01c (patch) | |
tree | 8b4cdc98a2ceea494ee3a69bd387cd7c359ff78f /drivers/vulkan/rendering_device_vulkan.cpp | |
parent | 561b431d85314000fe70d42e39713e5da394c3b5 (diff) |
Improve HiDPI handling, fix incorrect window viewport clipping.
Diffstat (limited to 'drivers/vulkan/rendering_device_vulkan.cpp')
-rw-r--r-- | drivers/vulkan/rendering_device_vulkan.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/vulkan/rendering_device_vulkan.cpp b/drivers/vulkan/rendering_device_vulkan.cpp index b85641e48f..d74f77c328 100644 --- a/drivers/vulkan/rendering_device_vulkan.cpp +++ b/drivers/vulkan/rendering_device_vulkan.cpp @@ -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); |