-
Notifications
You must be signed in to change notification settings - Fork 13
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
183 fullscreen support #184
base: master
Are you sure you want to change the base?
Conversation
Adds noise. When this is eliminated, fullscreen toggling can go under a shortcut key and a config parameter.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This isn't really a hack, since you're clearing the screen buffer before presenting the render buffer. I wonder if it needs to be done every frame though.
The noise looked like it changed on every frame (very quickly anyway). You can have a look if you take out the clearing step. |
Mouse is not working properly at all in fullscreen :) |
Fixed, but solution needs an SDL2 upgrade |
Draft for fixing #183
Hardcoded fullscreen
An extra clearing of the screen is done in
viewport:End()
to eliminate noise in the 'letterboxed' areas. This seems like a hack; I would like to understand why crap is rendered there in the first place.TODO: