Fix for issue #4165

vulkan video driver don't rotate the same way as gl video driver without this.
This commit is contained in:
barbudreadmon 2016-12-11 10:53:02 +01:00 committed by GitHub
parent a5a594f619
commit ad273d6299

View File

@ -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);
}