Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Renderer: Adjust source rectangle when crop would draw off screen #8049
This prevents us from requiring an oversized and/or negative viewport by shrinking the source rectangle instead.
Should be tested by someone more familiar with the setting and its effects, as AFAICT it was producing the same results, but probably didn't check all scenarios.