mirror of
https://github.com/libretro/RetroArch
synced 2025-03-01 16:13:40 +00:00
(VITA) Wait for rendering before free overlays
This commit is contained in:
parent
6ecbfbc22b
commit
bcfa865569
@ -114,6 +114,9 @@ static void vita2d_render_overlay(void *data);
|
||||
static void vita2d_free_overlay(vita_video_t *vita)
|
||||
{
|
||||
unsigned i;
|
||||
|
||||
vita2d_wait_rendering_done();
|
||||
|
||||
for (i = 0; i < vita->overlays; i++)
|
||||
vita2d_free_texture(vita->overlay[i].tex);
|
||||
free(vita->overlay);
|
||||
|
Loading…
x
Reference in New Issue
Block a user