Fix libretro GL core screenshots.

This commit is contained in:
Themaister 2014-02-06 23:37:06 +01:00
parent 8120198ed8
commit 94a0cef1d4

View File

@ -2423,7 +2423,7 @@ static bool gl_read_viewport(void *data, uint8_t *buffer)
return false;
}
gl_frame(gl, NULL, 0, 0, 0, NULL);
rarch_render_cached_frame();
uint8_t *dst = buffer;
const uint8_t *src = (const uint8_t*)gl->readback_buffer_screenshot;