mirror of
https://github.com/libretro/RetroArch
synced 2025-03-05 01:14:31 +00:00
Merge pull request #6792 from Tatsuya79/patch-1
Disable gl hard sync in menu
This commit is contained in:
commit
380308d7d0
@ -1202,8 +1202,11 @@ static bool gl_frame(void *data, const void *frame,
|
|||||||
|
|
||||||
video_info->cb_swap_buffers(video_info->context_data, video_info);
|
video_info->cb_swap_buffers(video_info->context_data, video_info);
|
||||||
|
|
||||||
/* check if we are fast forwarding, if we are ignore hard sync */
|
/* check if we are fast forwarding or in menu, if we are ignore hard sync */
|
||||||
if (gl->have_sync && video_info->hard_sync && !video_info->input_driver_nonblock_state)
|
if ( gl->have_sync
|
||||||
|
&& video_info->hard_sync
|
||||||
|
&& !video_info->input_driver_nonblock_state
|
||||||
|
&& !gl->menu_texture_enable)
|
||||||
{
|
{
|
||||||
glClear(GL_COLOR_BUFFER_BIT);
|
glClear(GL_COLOR_BUFFER_BIT);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user