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

Apply patches to 3.8 #2

Open
wants to merge 20 commits into
base: develop_3.8
Choose a base branch
from

Conversation

WilliamQiufeng
Copy link
Member

No description provided.

Swan and others added 20 commits July 25, 2024 10:31
Remove framework45 target
Fixes mouse up/down on Wayland, as GetGlobalState is not supported
there.
This is a much better way to do VSync on Wayland. It results in 1 frame
less of latency compared to the usual VSync, and on correctly tuned
compositors (such as sway) it will result in sub-frame latency with
VSync. It also doesn't have the stutter that the standard VSync has, and
that unlimited FPS can also have.
Load the actual library, not the development one. This makes Wayland
VSync work without the user having to install the Wayland development
package.
On Wayland it's a file:// URI that needs to be converted. If the path is
already a local path, this conversion leaves it as is.
On newer SDL2 the struct is larger size, which lead to SDL2 overwriting
data past the allocated space. On the other hand, making the struct
bigger than its real size is fine for our use-case (it would break with
e.g. an array of these structs, but we only use a single one).
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.

4 participants