shithub: cstory

Download patch

ref: 006091305eda7999d17a5c048d3c235f9889561d
parent: 0103f2696b737956e09b2fbdd735c7042a947cf2
author: Clownacy <Clownacy@users.noreply.github.com>
date: Wed Sep 23 13:08:07 EDT 2020

Fix an inconsistency

--- a/src/Backends/Rendering/WiiU.cpp
+++ b/src/Backends/Rendering/WiiU.cpp
@@ -610,7 +610,7 @@
 
 		// Draw to the selected texture, instead of the screen
 		GX2SetColorBuffer(&surface->colour_buffer, GX2_RENDER_TARGET_0);
-		GX2SetViewport(0, 0, (float)surface->colour_buffer.surface.width, (float)surface->colour_buffer.surface.height, 0.0f, 1.0f);
+		GX2SetViewport(0.0f, 0.0f, (float)surface->colour_buffer.surface.width, (float)surface->colour_buffer.surface.height, 0.0f, 1.0f);
 		GX2SetScissor(0, 0, (float)surface->colour_buffer.surface.width, (float)surface->colour_buffer.surface.height);
 
 		// Set the colour-fill... colour