Fix an inconsistency

This commit is contained in:
Clownacy 2020-09-23 17:08:07 +01:00
parent 0103f2696b
commit 006091305e

View file

@ -610,7 +610,7 @@ void RenderBackend_ColourFill(RenderBackend_Surface *surface, const RenderBacken
// Draw to the selected texture, instead of the screen // Draw to the selected texture, instead of the screen
GX2SetColorBuffer(&surface->colour_buffer, GX2_RENDER_TARGET_0); 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); GX2SetScissor(0, 0, (float)surface->colour_buffer.surface.width, (float)surface->colour_buffer.surface.height);
// Set the colour-fill... colour // Set the colour-fill... colour