-
Notifications
You must be signed in to change notification settings - Fork 2k
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
[MacOS] Resize flicker #12081
Comments
In your reddit post, you mentioned this working alright in sokol on Mac, can you provide a sample of that so that it can be compared? |
Hey, thanks for reaching out! I'm not doing anything special, simply drawing some text using See the code here: https://github.com/filipkrw/hello-sokol. It should build on Windows and MacOS, but let me know in case you try it out and encounter some issues. Screen.Recording.2025-01-27.at.23.36.20.mov |
I'd like to add that with this exact example, this does happen on Windows (10), if you resize the window from the left or top instead of the right or bottom. Actually in all cases the rendering seems to be consistently a single frame behind. It's just that it's less noticeable when resizing from the right/bottom because your pointer is also moving. Given how finnicky/random Windows is regarding window resizing i'm not sure if this can even be fixed. |
Hi, I'm experiencing a flicker when resizing the window on MacOS. See:
Screen.Recording.2025-01-24.at.21.21.52.mov
It looks as if SDL3 can't keep up with rendering frames on time, but the program is dead simple -- a single rectangle. It also doesn't happen on Windows.
Source code:
And build config:
The text was updated successfully, but these errors were encountered: