mirror of
https://github.com/libretro/RetroArch.git
synced 2024-11-25 08:59:58 +00:00
Disable BFI during fast foward
Fast forward causes ugly flicker when BFI is enabled.
This commit is contained in:
parent
0c91b1a1ba
commit
8c79dc972c
4
gfx/gl.c
4
gfx/gl.c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user