Hi, Fixed up some issues pointed out by Max Reitz, also added revieed-by tags. /me plans to send a pull for this (plus the two fixes from max) before xmas, the sdl opengl bits have to wait until next year.
please review, Gerd Gerd Hoffmann (10): sdl: move version logic from source code to makefile sdl2: rename sdl2_state to sdl2_console, move to header file sdl2: move keyboard input code to new sdl2-input.c sdl2: turn on keyboard grabs sdl2: move sdl_update to new sdl2-2d.c sdl2: overhaul window size handling sdl2: move sdl_switch to sdl2-2d.c sdl2: add+use sdl2_2d_redraw function. sdl2: factor out sdl2_poll_events sdl2: move sdl2_2d_refresh to sdl2-2d.c include/ui/sdl2.h | 32 ++++++ ui/Makefile.objs | 7 +- ui/sdl.c | 3 - ui/sdl2-2d.c | 122 ++++++++++++++++++++ ui/sdl2-input.c | 106 +++++++++++++++++ ui/sdl2.c | 333 +++++++++++++----------------------------------------- 6 files changed, 347 insertions(+), 256 deletions(-) create mode 100644 include/ui/sdl2.h create mode 100644 ui/sdl2-2d.c create mode 100644 ui/sdl2-input.c -- 1.8.3.1