mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-24 11:45:16 +00:00
Merge pull request #3771 from frangarcj/frangarcj-overlay-1
(VITA) Wait for rendering before free overlays
This commit is contained in:
commit
f28c4115e9
@ -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…
Reference in New Issue
Block a user