From 64d723af37eec81f7c6f23c63596fb706d09ef8c Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Wed, 20 Feb 2019 22:37:39 +1100 Subject: [PATCH] render/wiiu: FLUSH THE CACHE. FLUSH THE CACHE. --- src/render/wiiu/SDL_rpresent_wiiu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/render/wiiu/SDL_rpresent_wiiu.c b/src/render/wiiu/SDL_rpresent_wiiu.c index 36b991429..32d280119 100644 --- a/src/render/wiiu/SDL_rpresent_wiiu.c +++ b/src/render/wiiu/SDL_rpresent_wiiu.c @@ -47,6 +47,7 @@ static void render_scene(WIIU_RenderData *data) { 0.0f, 0.0f, }; memcpy(a_texCoord, a_texCoord_vals, sizeof(float) * 2 * 4); + GX2Invalidate(GX2_INVALIDATE_MODE_CPU_ATTRIBUTE_BUFFER, a_texCoord, sizeof(float) * 2 * 4); WHBGfxClearColor(0.0f, 0.0f, 0.0f, 1.0f); wiiuSetTextureShader();