From d6b1fea21c2da100b77569d0ccf28752843b0228 Mon Sep 17 00:00:00 2001 From: Ash Logan Date: Wed, 6 Mar 2019 19:05:58 +1100 Subject: [PATCH] render/wiiu: Fix present position/texcoord confusion --- src/render/wiiu/SDL_rpresent_wiiu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/wiiu/SDL_rpresent_wiiu.c b/src/render/wiiu/SDL_rpresent_wiiu.c index 6283cf71d..111dd3025 100644 --- a/src/render/wiiu/SDL_rpresent_wiiu.c +++ b/src/render/wiiu/SDL_rpresent_wiiu.c @@ -80,7 +80,7 @@ static void render_scene(SDL_Renderer * renderer) { a_texCoord_vals[1] = (WIIUVec2) {.x = tex_w, .y = tex_h}; a_texCoord_vals[2] = (WIIUVec2) {.x = tex_w, .y = 0.0f}; a_texCoord_vals[3] = (WIIUVec2) {.x = 0.0f, .y = 0.0f}; - GX2RUnlockBufferEx(a_position, 0); + GX2RUnlockBufferEx(a_texCoord, 0); WHBGfxClearColor(0.0f, 0.0f, 0.0f, 1.0f); wiiuSetTextureShader();