mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
Fix libretro GL core screenshots.
This commit is contained in:
parent
8120198ed8
commit
94a0cef1d4
2
gfx/gl.c
2
gfx/gl.c
@ -2423,7 +2423,7 @@ static bool gl_read_viewport(void *data, uint8_t *buffer)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
gl_frame(gl, NULL, 0, 0, 0, NULL);
|
rarch_render_cached_frame();
|
||||||
|
|
||||||
uint8_t *dst = buffer;
|
uint8_t *dst = buffer;
|
||||||
const uint8_t *src = (const uint8_t*)gl->readback_buffer_screenshot;
|
const uint8_t *src = (const uint8_t*)gl->readback_buffer_screenshot;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user