summaryrefslogtreecommitdiff
path: root/drivers/vulkan
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-10-15 08:28:44 +0200
committerGitHub <noreply@github.com>2020-02-11 12:04:08 +0100
commitd10406a59aa6f1291fc19ceb8f302ad3f6640d1c (patch)
tree22d8ee248723be5d63543a01253b8aff57409411 /drivers/vulkan
parent2c67cc654f2a5080c16d6317f71dbb00e894aabd (diff)
parentd5df1b651c9f2c21a38ceb4fd00e8844e66ef01c (diff)
Merge pull request #32818 from bruvzg/vlk_fix_hidpi_and_resize
[Vulkan, macOS] Improve HiDPI handling, fix incorrect window viewport clipping.
Diffstat (limited to 'drivers/vulkan')
-rw-r--r--drivers/vulkan/rendering_device_vulkan.cpp2
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);