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

Integer scaling #40

Open
Miss-Inputs opened this issue Jun 26, 2018 · 0 comments
Open

Integer scaling #40

Miss-Inputs opened this issue Jun 26, 2018 · 0 comments

Comments

@Miss-Inputs
Copy link

This is an enhancement request and therefore subjective, but I think it'd be neat to have an option for integer scaling; such that if the guest resolution is (for example) 1600x900 and your host resolution is 1920x1080 you get black borders surrounding the screen instead of trying to have half-pixel scaling, which looks a bit ugly.

This can be achieved without an option by adding
SDL_RenderSetIntegerScale(sdl_renderer, SDL_TRUE);
above line 836 in video_sdl2.cpp, but it probably should be an option, because maybe some people are fine with non-integer scaling and whatnot and I'm not cool enough to figure out how to make it an option just yet.

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

No branches or pull requests

1 participant