Skip to content

Commit

Permalink
PostProcessing/GLSL: Clear alpha to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stenzek committed Jan 22, 2025
1 parent be75a97 commit 0166939
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/postprocessing_shader_glsl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 0166939

Please # to comment.