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

sdl: add missing HINT_VIDEODRIVER hint #588

Merged
merged 1 commit into from
Jan 9, 2024

Conversation

gamelaster
Copy link
Contributor

This hint is needed to force Wayland over X11.

Usage:

	sdl.SetHint(sdl.HINT_VIDEODRIVER, "wayland,x11")
	if err := sdl.Init(sdl.INIT_EVERYTHING); err != nil {
		panic(err)
	}
	defer sdl.Quit()

@veeableful
Copy link
Contributor

Thank you @gamelaster!

@veeableful veeableful merged commit 62457e6 into veandco:master Jan 9, 2024
1 check passed
veeableful added a commit that referenced this pull request Jan 9, 2024
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.

2 participants