Menu

#40 Migrate to SDL2

Next_Release
open
nobody
None
5
2021-09-13
2019-04-02
No

Ryan Gordon has made it clear that SDL 1.2 is no longer being maintained and that 1.2.15 is the last public release.

As 1.2 gets harder to maintain (especially on the Mac), perhaps migrating to SDL2 (Or have a compile-time option for choosing 1.2 or 2.0) would cause less headaches in the long-term than just trying to patch SDL 1.2.

Discussion

  • Ozkan Sezer

    Ozkan Sezer - 2019-04-04

    SDL2 support is already on the todo list, but don't know when it will happen..

     
  • Steven Newbury

    Steven Newbury - 2020-10-17

    jpernst on github has added SDL2 support here: https://github.com/jpernst/uhexen2-sdl2

    It works really well on Sway with SDL_VIDEODRIVER=wayland

    I've rebased his series on top of trunk here: https://github.com/sjnewbury/uhexen2

    It also includes my High DPI support patch.

    Is there a mechanism for submitting for upstream inclusion via github, or shall I send as a patch series or should I squash into one patch and attach here?

     
  • Ozkan Sezer

    Ozkan Sezer - 2021-09-13

    Note: For sdl2 text input, comparing stuff to quakespasm may prove useful.

     

Log in to post a comment.