Skip to content

sdl_glimp: also recreate window on resolution change#657

Merged
illwieckz merged 1 commit intomasterfrom
illwieckz/resolution
Jul 27, 2022
Merged

sdl_glimp: also recreate window on resolution change#657
illwieckz merged 1 commit intomasterfrom
illwieckz/resolution

Conversation

@illwieckz
Copy link
Copy Markdown
Member

Window resolution can also change without calling vid_restart: it happens when the window failed to be created and a lower resolution is tried instead.

This replaces:

This is a fixup for:

Not recreating the window when the fallback resolution is tried because the context creation failed was a regression.

Window resolution can also change without calling vid_restart:
it happens when the window failed to be created and a lower
resolution is tried instead.
@illwieckz illwieckz force-pushed the illwieckz/resolution branch from 9a62e6e to 3a2440c Compare July 26, 2022 23:04
@illwieckz illwieckz merged commit cc6e05f into master Jul 27, 2022
@illwieckz illwieckz mentioned this pull request Jul 27, 2022
@illwieckz illwieckz deleted the illwieckz/resolution branch July 30, 2022 07:44
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.

3 participants