mirror of
https://github.com/libretro/RetroArch
synced 2025-04-02 16:20:39 +00:00
Update
This commit is contained in:
parent
6fefc71aa2
commit
f28d6009ec
@ -1213,6 +1213,7 @@ static bool gl_frame(void *data, const void *frame,
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifndef NO_GL_READ_PIXELS
|
#ifndef NO_GL_READ_PIXELS
|
||||||
|
|
||||||
/* Screenshots. */
|
/* Screenshots. */
|
||||||
if (gl->readback_buffer_screenshot)
|
if (gl->readback_buffer_screenshot)
|
||||||
{
|
{
|
||||||
@ -1225,13 +1226,17 @@ static bool gl_frame(void *data, const void *frame,
|
|||||||
gl->vp.width, gl->vp.height,
|
gl->vp.width, gl->vp.height,
|
||||||
GL_RGBA, GL_UNSIGNED_BYTE, gl->readback_buffer_screenshot);
|
GL_RGBA, GL_UNSIGNED_BYTE, gl->readback_buffer_screenshot);
|
||||||
}
|
}
|
||||||
#ifdef HAVE_MENU
|
|
||||||
#ifdef HAVE_GL_ASYNC_READBACK
|
#ifdef HAVE_GL_ASYNC_READBACK
|
||||||
/* Don't readback if we're in menu mode. */
|
/* Don't readback if we're in menu mode. */
|
||||||
else if (gl->pbo_readback_enable && !gl->menu_texture_enable)
|
else if (gl->pbo_readback_enable)
|
||||||
gl_pbo_async_readback(gl);
|
#ifdef HAVE_MENU
|
||||||
|
/* Don't readback if we're in menu mode. */
|
||||||
|
if (!gl->menu_texture_enable)
|
||||||
#endif
|
#endif
|
||||||
|
gl_pbo_async_readback(gl);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Disable BFI during fast forward, slow-motion,
|
/* Disable BFI during fast forward, slow-motion,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user