Fix for issue #4165
vulkan video driver don't rotate the same way as gl video driver without this.
This commit is contained in:
parent
a5a594f619
commit
ad273d6299
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue