mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2026-04-28 05:11:37 +00:00
Fix DoF fix not using viewport height.
This commit is contained in:
parent
979fea19e6
commit
fe0979ceba
1 changed files with 1 additions and 1 deletions
|
|
@ -4386,7 +4386,7 @@ static void ProcSetPixelShader(const RenderCommand& cmd)
|
|||
|
||||
default:
|
||||
{
|
||||
size_t height = round(g_swapChain->getHeight() * Config::ResolutionScale);
|
||||
size_t height = round(Video::s_viewportHeight * Config::ResolutionScale);
|
||||
|
||||
if (height > 1440)
|
||||
shaderIndex = GAUSSIAN_BLUR_9X9;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue