mirror of
https://github.com/libretro/RetroArch
synced 2025-03-02 19:13:34 +00:00
Merge pull request #903 from mprobinson/master
Disable BFI during fast foward
This commit is contained in:
commit
3b51da134c
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…
x
Reference in New Issue
Block a user