render/wiiu: Free render data after calling GX2DrawDone

This commit is contained in:
rw-r-r-0644 2019-03-18 22:45:06 +01:00 committed by Ash Logan
parent fb9cda3712
commit c349a79696

View File

@ -192,10 +192,10 @@ static inline void WIIU_TextureDoneRendering(WIIU_RenderData *r)
updating the texture */
static inline void WIIU_TextureCheckWaitRendering(WIIU_RenderData *r, WIIU_TextureData *t)
{
if (t->isRendering)
{
if (t->isRendering) {
GX2DrawDone();
WIIU_TextureDoneRendering(r);
WIIU_FreeRenderData(r);
}
}