From ad273d6299d68ccff50c5ee2449cfebfe999c52c Mon Sep 17 00:00:00 2001 From: barbudreadmon Date: Sun, 11 Dec 2016 10:53:02 +0100 Subject: [PATCH] Fix for issue #4165 vulkan video driver don't rotate the same way as gl video driver without this. --- gfx/drivers/vulkan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/drivers/vulkan.c b/gfx/drivers/vulkan.c index 2397aeed84..153b94a614 100644 --- a/gfx/drivers/vulkan.c +++ b/gfx/drivers/vulkan.c @@ -1282,7 +1282,7 @@ static void vulkan_set_rotation(void *data, unsigned rotation) if (!vk) return; - vk->rotation = 90 * rotation; + vk->rotation = 270 * rotation; vulkan_set_projection(vk, &ortho, true); }