Wii: Fix draw ordering
Jeffrey Pfau jeffrey@endrift.com
Sun, 03 Jan 2016 17:07:09 -0800
1 files changed,
1 insertions(+),
4 deletions(-)
jump to
M
src/platform/wii/main.c
→
src/platform/wii/main.c
@@ -147,7 +147,6 @@
reconfigureScreen(vmode); GX_SetCullMode(GX_CULL_NONE); - GX_CopyDisp(framebuffer[whichFb], GX_TRUE); GX_SetDispCopyGamma(GX_GM_1_0); GX_ClearVtxDesc();@@ -281,11 +280,10 @@ GX_SetViewport(0, 0, vmode->fbWidth, vmode->efbHeight, 0, 1);
} static void _drawEnd(void) { - GX_DrawDone(); - whichFb = !whichFb; GX_CopyDisp(framebuffer[whichFb], GX_TRUE); + GX_DrawDone(); VIDEO_SetNextFramebuffer(framebuffer[whichFb]); VIDEO_Flush();@@ -673,7 +671,6 @@ double val = mag * sinf(M_PI * ang / 180.0f);
return (s8)(val * 128.0f); } - static s8 WPAD_StickY(u8 chan, u8 right) { float mag = 0.0;