Disable BFI during fast foward

Fast forward causes ugly flicker when BFI is enabled.
This commit is contained in:
Mike Robinson 2014-08-27 22:40:19 +01:00
parent 0c91b1a1ba
commit 8c79dc972c

View File

@ -1570,7 +1570,9 @@ static bool gl_frame(void *data, const void *frame, unsigned width, unsigned hei
memcpy(tex_info.coord, gl->tex_coords, sizeof(gl->tex_coords));
glClear(GL_COLOR_BUFFER_BIT);
if (g_settings.video.black_frame_insertion)
// Disable BFI during fast forward to prevent flicker
if (g_settings.video.black_frame_insertion && !driver.nonblock_state)
{
context_swap_buffers_func(gl);
glClear(GL_COLOR_BUFFER_BIT);