Skip to content
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

GS/HW: Limit GetValidSize max height and width. #12198

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lightningterror
Copy link
Contributor

Description of Changes

GS/HW: Limit GetValidSize height and width.

Max texture size limit is 2048.
This should never happen but if it does clamp it

Rationale behind Changes

Prevent any crashes when target texture sizes are out of bounds.

Suggested Testing Steps

Smoke test, I didn't find any dump that triggered it.

Max texture size limit is 2048.
This should never happen but if it does clamp it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant