Fix an inconsistency
This commit is contained in:
parent
0103f2696b
commit
006091305e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue