Skip to content

Commit

Permalink
Backport commit 62457e6 sdl: add missing HINT_VIDEODRIVER hint (#588)
Browse files Browse the repository at this point in the history
Signed-off-by: Lilis Iskandar <[email protected]>
  • Loading branch information
veeableful committed Jan 9, 2024
1 parent a9423c0 commit 9ec018e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sdl/hints.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ package sdl
#define SDL_HINT_JOYSTICK_ROG_CHAKRAM ""
#define SDL_HINT_X11_WINDOW_TYPE ""
#define SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR ""
#define SDL_HINT_VIDEODRIVER ""
#endif
*/
Expand Down Expand Up @@ -260,6 +261,7 @@ const (
HINT_JOYSTICK_ROG_CHAKRAM = C.SDL_HINT_JOYSTICK_ROG_CHAKRAM // A variable controlling whether the ROG Chakram mice should show up as joysticks
HINT_X11_WINDOW_TYPE = C.SDL_HINT_X11_WINDOW_TYPE // A variable that forces X11 windows to create as a custom type
HINT_VIDEO_WAYLAND_PREFER_LIBDECOR = C.SDL_HINT_VIDEO_WAYLAND_PREFER_LIBDECOR // A variable controlling whether the libdecor Wayland backend is preferred over native decrations
HINT_VIDEODRIVER = C.SDL_HINT_VIDEODRIVER // A variable that decides what video backend to use
)

// An enumeration of hint priorities.
Expand Down

0 comments on commit 9ec018e

Please sign in to comment.