Disable hard sync on FF without mangling settings

This commit is contained in:
radius 2018-01-08 20:06:24 -05:00
parent 6eb089cb82
commit 8007c3efd7

View File

@ -1202,7 +1202,8 @@ static bool gl_frame(void *data, const void *frame,
video_info->cb_swap_buffers(video_info->context_data, video_info);
if (video_info->hard_sync && gl->have_sync)
/* check if we are fast forwarding, if we are ignore hard sync */
if (gl->have_sync && video_info->hard_sync && !video_info->input_driver_nonblock_state)
{
glClear(GL_COLOR_BUFFER_BIT);