Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ public void Update(GlobalDynamicResolutionSettings settings, Action OnResolution
ScalableBufferManager.ResizeBuffers(m_CurrentFraction, m_CurrentFraction);
}

OnResolutionChange();
if(OnResolutionChange != null)
OnResolutionChange();
}
else
{
Expand All @@ -169,7 +170,8 @@ public void Update(GlobalDynamicResolutionSettings settings, Action OnResolution
if(ScalableBufferManager.widthScaleFactor != m_PrevHWScaleWidth ||
ScalableBufferManager.heightScaleFactor != m_PrevHWScaleHeight)
{
OnResolutionChange();
if (OnResolutionChange != null)
OnResolutionChange();
}
}
}
Expand Down
1 change: 1 addition & 0 deletions com.unity.render-pipelines.high-definition/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
- Fixed a missing dependecy for choosing to evaluate transparent SSR.
- Fixed issue that failed compilation when XR is disabled.
- Fixed a compilation error in the IES code.
- Fixed issue with dynamic resolution handler when no OnResolutionChange callback is specified.

### Changed
- Improve MIP selection for decals on Transparents
Expand Down