Page MenuHomeSolus

Update sdl2 to 2.0.12
ClosedPublic

Authored by Girtablulu on Mar 18 2020, 12:49 PM.

Details

Summary

Update sdl2 to 2.0.12

Changelog summarized:

  • Added the hint SDL_HINT_VIDEO_X11_WINDOW_VISUALID to specify the visual chosen for new X11 windows
  • Added the hint SDL_HINT_VIDEO_X11_FORCE_EGL to specify whether X11 should use GLX or EGL by default
  • Added SDL_GameControllerTypeForIndex(), SDL_GameControllerGetType() to return the type of a game controller
  • Added support for many game controllers
  • Added SDL_JoystickFromPlayerIndex() and SDL_GameControllerFromPlayerIndex() to get the device associated with a player index
  • Added SDL_JoystickSetPlayerIndex() and SDL_GameControllerSetPlayerIndex() to set the player index associated with a device
Test Plan

played steam games and mrboom, started 0ad

Diff Detail

Repository
R2866 sdl2
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Girtablulu created this revision.Mar 18 2020, 12:49 PM
Girtablulu requested review of this revision.Mar 18 2020, 12:49 PM
JoshStrobl accepted this revision.Mar 18 2020, 12:52 PM
JoshStrobl added a subscriber: JoshStrobl.

LGTM!

This revision is now accepted and ready to land.Mar 18 2020, 12:52 PM
This revision was automatically updated to reflect the committed changes.