Releases: libsdl-org/sdl2-compat
2.32.50
2.30.54
This is a stable bugfix release, with the following changes:
- Fixed the mouse wheel in Torchlight
- Fixed double-free if SDL RLE encodes a surface during blit
- Fixed SDL_ConvertSurface() returning NULL in Dwarf Fortress
- Fixed a crash if you call SDL_FreeSurface() on a surface returned from SDL_GetWindowSurface()
- Fixed SDL_WINDOW_ALWAYS_ON_TOP
- Fixed garbled audio if format conversion was needed
- Fixed Force Feedback support in Wine
- Fixed D-Pad not working on some controllers
- Fixed return value of SDL_WasInit(SDL_INIT_TIMER)
- Fixed build errors when building some SDL2 applications using sdl2-compat headers
- Fixed several memory leaks
2.30.52
Arch Linux replaced their SDL2 package with sdl2-compat and we got lots of great feedback!
Here is a quick update with the following improvements:
- Fixed a black screen in some applications, including Source 1 games
- Fixed loud garbled audio in some applications, including Source 1 games and DOSBox
- Fixed audio crackling and potential related crashing in some applications, including vkQuake
- Fixed opening the main window in ffplay
- Fixed fullscreen window size when running some games like Meat Boy on Wayland with fractional scaling enabled
- Fixed keyboard input in Super Meat Boy
- Fixed mouse motion while the mouse is grabbed
- Fixed a crash in AntimicroX
- Fixed building applications that expect SDL to provide standard C headers
- Added support for the original Torchlight on Linux, which shipped using a pre-release SDL 2.0 library
If you were running into problems with sdl2-compat, please update to this release along with SDL 3.2.2 and let us know if you're still having issues:
https://github.com/libsdl-org/sdl2-compat/issues
2.30.51
This is a stable bugfix release, with the following changes:
- Enable text input by default on desktop platforms
- Enable render batching if a specific renderer hasn't been requested
- Fixed a memory leak
2.30.50
Announcing the sdl2-compat official release!
Want the joy of SDL3 but are stuck using SDL2? ... we've got you covered!
This code is a compatibility layer, providing a binary and source compatible API for programs written against SDL2, but it uses SDL3 behind the scenes.
Running Windows?
Just grab the win32 archive for your architecture and drop the DLLs into your game.
Using another platform?
Grab the source and a copy of SDL3 and build it for your platform. Check out the README for details.