Skip to content

Commit

Permalink
hints: Add SDL_VIDEO_GL_DRIVER and SDL_VIDEO_EGL_DRIVER to renamed_hi…
Browse files Browse the repository at this point in the history
…nts.

Fixes #242.
  • Loading branch information
icculus committed Jan 7, 2025
1 parent fbbb14a commit 6c90c6c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sdl2_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,8 @@ static struct {
{ "SDL_VIDEO_WAYLAND_WMCLASS", "SDL_APP_ID" },
{ "SDL_VIDEO_X11_FORCE_EGL", "SDL_VIDEO_FORCE_EGL" },
{ "SDL_VIDEO_X11_WMCLASS", "SDL_APP_ID" },
{ "SDL_VIDEO_GL_DRIVER", "SDL_OPENGL_LIBRARY" },
{ "SDL_VIDEO_EGL_DRIVER", "SDL_EGL_LIBRARY" },
};

static const char *SDL2_to_SDL3_hint(const char *name)
Expand Down

0 comments on commit 6c90c6c

Please sign in to comment.