diff --git a/sdl/hints.go b/sdl/hints.go index 1b88ee41..8d21ef3a 100644 --- a/sdl/hints.go +++ b/sdl/hints.go @@ -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 */ @@ -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.