mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-21 18:21:51 +00:00
Merge pull request #8926 from Tatsuya79/patch-1
glcore fix wrong rotation with HW cores
This commit is contained in:
commit
7b16a1b275
@ -1419,7 +1419,7 @@ static void gl_core_set_rotation(void *data, unsigned rotation)
|
|||||||
if (!gl)
|
if (!gl)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
gl->rotation = 270 * rotation;
|
gl->rotation = video_driver_is_hw_context() ? 90 * rotation : 270 * rotation;
|
||||||
gl_core_set_projection(gl, &gl_core_default_ortho, true);
|
gl_core_set_projection(gl, &gl_core_default_ortho, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user