Fix upscaler usage if resolution is higher than 1

This commit is contained in:
Wojciech Figat
2022-03-28 16:31:23 +02:00
parent 5d0c27dff3
commit 79669a8789

View File

@@ -522,7 +522,7 @@ void RenderInner(SceneRenderTask* task, RenderContext& renderContext)
renderContext.List->RunMaterialPostFxPass(context, renderContext, MaterialPostFxLocation::AfterAntiAliasingPass, frameBuffer, tempBuffer);
// PostFx -> (up-scaling) -> Back Buffer
if (Math::IsOne(task->RenderingPercentage))
if (task->RenderingPercentage >= 1.0f)
{
PROFILE_GPU("Copy frame");
context->SetRenderTarget(task->GetOutputView());