From 016693960922ad026ea71e81e372977c9f51a829 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Wed, 22 Jan 2025 18:23:12 +1000 Subject: [PATCH] PostProcessing/GLSL: Clear alpha to 1.0 --- src/util/postprocessing_shader_glsl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/postprocessing_shader_glsl.cpp b/src/util/postprocessing_shader_glsl.cpp index 070f07bea9..056db97f55 100644 --- a/src/util/postprocessing_shader_glsl.cpp +++ b/src/util/postprocessing_shader_glsl.cpp @@ -185,7 +185,7 @@ GPUDevice::PresentResult PostProcessing::GLSLShader::Apply(GPUTexture* input_col else { g_gpu_device->SetRenderTargets(&final_target, 1, nullptr); - g_gpu_device->ClearRenderTarget(final_target, 0); // TODO: Could use an invalidate here too. + g_gpu_device->ClearRenderTarget(final_target, GPUDevice::DEFAULT_CLEAR_COLOR); // TODO: Could use an invalidate here too. } g_gpu_device->SetPipeline(m_pipeline.get());