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

Fix window resize #419

Merged
merged 5 commits into from
Aug 13, 2024
Merged

Fix window resize #419

merged 5 commits into from
Aug 13, 2024

Conversation

Ymihere03
Copy link
Contributor

Fix resizing the window so that the game screen stays perfectly framed by the window.

This fix is accomplished by updating the FrameBuffer during a Window Resize event. This FrameBuffer update uses the same code as when the FrameBuffer is first initialized.

@tra
Copy link
Contributor

tra commented Aug 13, 2024

Looks fine to me but I think @Croc or @SilveFox should take a look since they are more familiar with this code.

@tra tra requested review from rherriman and assertivist August 13, 2024 01:06
…ng the GL FBO

Window Resize event is ignored if the resolution didn't actually change
The HUD bump magnitude is a lot lower when damage taken is low
Copy link
Member

@assertivist assertivist left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works on my machine!

@assertivist assertivist merged commit d1cdbd6 into avaraline:main Aug 13, 2024
3 checks passed
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.

3 participants