Skip to content

Fixed API breakage. #524

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 18, 2020
Merged
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 @@ -143,7 +143,19 @@ public void ResetReferenceSize(int width, int height)
/// <param name="width">Reference rendering width for subsequent rendering.</param>
/// <param name="height">Reference rendering height for subsequent rendering.</param>
/// <param name="msaaSamples">Number of MSAA samples for multisampled textures for subsequent rendering.</param>
public void SetReferenceSize(int width, int height, MSAASamples msaaSamples, bool reset = false)
public void SetReferenceSize(int width, int height, MSAASamples msaaSamples)
{
SetReferenceSize(width, height, msaaSamples, false);
}

/// <summary>
/// Sets the reference rendering size for subsequent rendering for the RTHandle System
/// </summary>
/// <param name="width">Reference rendering width for subsequent rendering.</param>
/// <param name="height">Reference rendering height for subsequent rendering.</param>
/// <param name="msaaSamples">Number of MSAA samples for multisampled textures for subsequent rendering.</param>
/// <param name="reset">If set to true, the new width and height will override the old values even if they are not bigger.</param>
public void SetReferenceSize(int width, int height, MSAASamples msaaSamples, bool reset)
{
m_RTHandleProperties.previousViewportSize = m_RTHandleProperties.currentViewportSize;
m_RTHandleProperties.previousRenderTargetSize = m_RTHandleProperties.currentRenderTargetSize;
Expand Down