mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-27 10:10:57 +00:00
Merge pull request #8929 from Tatsuya79/patch-2
glcore rotation fix for desmume
This commit is contained in:
commit
03c45f2ec8
@ -1419,7 +1419,7 @@ static void gl_core_set_rotation(void *data, unsigned rotation)
|
||||
if (!gl)
|
||||
return;
|
||||
|
||||
gl->rotation = video_driver_is_hw_context() ? 90 * rotation : 270 * rotation;
|
||||
gl->rotation = video_driver_is_hw_context() && gl->hw_render_bottom_left ? 90 * rotation : 270 * rotation;
|
||||
gl_core_set_projection(gl, &gl_core_default_ortho, true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user