mirror of
https://github.com/yawut/SDL.git
synced 2026-09-08 09:06:29 -05:00
render/wiiu: Free render data after calling GX2DrawDone
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user