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

this fixes issue116 and explicitly maintains the aspect ratio in the … #201

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

Conversation

junaidnaseer
Copy link

This fixes issue116 and explicitly maintains the aspect ratio in the fullscreen, independent of however the SDL_WINDOW_FULLSCREEN works.

If the other pull request from me has been merged then this one can be rejected I guess.

In addition to changing the SDL flag, I added a few lines of code, that explicitly adjust the new aspect ratio, based on the original aspect ratio.

Although, in my honest opinion, this is a bit of an overkill. I think the other pull request is sufficient.

Still, I compiled and tested both solutions and then seemed to work within reason.

…fullscreen, independent of however the SDL_WINDOW_FULLSCREEN works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant