|
|
|
@ -635,6 +635,12 @@ namespace UnityEngine.Rendering.PostProcessing |
|
|
|
{ |
|
|
|
// Ensure all of FSR2's resources are released when it's not in use
|
|
|
|
superResolution.Release(); |
|
|
|
|
|
|
|
if (m_originalTargetTexture != null) |
|
|
|
{ |
|
|
|
m_Camera.targetTexture = m_originalTargetTexture; |
|
|
|
m_originalTargetTexture = null; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
context.command = m_LegacyCmdBufferOpaque; |
|
|
|
|