PostProcessing/GLSL: Clear alpha to 1.0

This commit is contained in:
Stenzek 2025-01-22 18:23:12 +10:00
parent be75a97efe
commit 0166939609
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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());