render/wiiu: Disable blending for render_scene

This commit is contained in:
rw-r-r-0644
2019-03-10 00:40:22 +01:00
committed by Ash Logan
parent 72e6ac1b50
commit e8a1980928
2 changed files with 2 additions and 1 deletions

View File

@@ -161,7 +161,6 @@ int WIIU_SDL_SetRenderTarget(SDL_Renderer * renderer, SDL_Texture * texture)
GX2SetAlphaTest(TRUE, GX2_COMPARE_FUNC_GREATER, 0.0f);
GX2SetDepthOnlyControl(FALSE, FALSE, GX2_COMPARE_FUNC_NEVER);
GX2SetColorControl(GX2_LOGIC_OP_COPY, 0xFF, FALSE, TRUE);
GX2SetCullOnlyControl(GX2_FRONT_FACE_CCW, FALSE, FALSE);
return 0;

View File

@@ -94,6 +94,8 @@ static void render_scene(SDL_Renderer * renderer) {
GX2SetPixelTexture(&tdata->texture, wiiuTextureShader.pixelShader->samplerVars[0].location);
GX2SetPixelSampler(&tdata->sampler, wiiuTextureShader.pixelShader->samplerVars[0].location);
GX2SetColorControl(GX2_LOGIC_OP_COPY, 0x00, FALSE, TRUE);
GX2DrawEx(GX2_PRIMITIVE_MODE_QUADS, 4, 0, 1);
}