dsfix icon indicating copy to clipboard operation
dsfix copied to clipboard

Fix crash for DOF blur at default DOF resolution

Open niligulmohar opened this issue 8 years ago • 0 comments

Initialization of GAUSS (the DOF blur filter) would fail and cause a crash at startup if dofBlurAmount was set to anything larger than zero and the dofOverrideResolution was zero or unspecified.

This change treats the DOF resolution as 360 when configured as zero for the purpose of initializing the blur filter and detecting the DOF render targets.

niligulmohar avatar Dec 29 '16 18:12 niligulmohar