-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
SDL 2.28.0+ causes texture misalignment in Mesen2 #7954
Comments
I can confirm this bug on Arch proper, just updated to sdl2 |
CC: @icculus |
Ugh, sorry about that! I'll look at that cherry-pick today. |
Ok, what the heck, this shouldn't be in HideWindow in the original commit. I wonder if I made a fix for #4216, then did a This is wild, I'm digging further. |
My current thinking is the SDL2 patch is correct (discounting whatever interaction is causing Mesen2 trouble), and I probably did the work in that branch and tested i3 against it, and then either applied a patch to a separate working copy for SDL3, where it landed incorrectly, or just pasted it into the wrong place, which is at least as likely, if not more. But since our policy is to commit to SDL3 and cherry-pick back to SDL2, that got committed first and then cherry-picked over (and maybe I even thought "weird, it missed the function" and manually fixed it up in SDL2). Anyhow, the plan now is to run mesen2 under a debugger and reproduce this issue, see what should be done, and fix up the SDL3 commit in any case. |
Let's close this and track this over in #8029. |
Since SDL 2.28.0, the texture(s) in Mesen2 become misaligned:
Sometimes the texture can be realigned by changing the video settings but it is very inconsistent.
Downgrading SDL to 2.26.5 restores the proper behaviour.
Note: Please use the development builds of Mesen2 for testing.
OS: EndeavourOS (basically Arch)
Display server: X11
The text was updated successfully, but these errors were encountered: