Merged
Conversation
Disabled on linux since it introduces really bad flickering on resize, and is not needed anyway since linux does not lock your main thread while you're changing the window
Contributor
|
This doesn't work- the screen just blacks out whenever resizing. Is there no way to make screen resizes non-blocking on Windows? |
Contributor
Author
sortof, technically that is what I'm doing here, but apparently it's not working? |
…l, and it doesn't hurt on linux
Causeless
approved these changes
Jul 13, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds event watch for SDL_EVENT_WINDOW_EXPOSED to allow redraw while windows is locking the main thread during modal interactions (move, resize, etc.)
(disabled on non windows since everywhere else those aren't blocking operations, and using the event watch leads to really bad flickering with vsync enabled)