Skip to content

Releases: libsdl-org/sdl2-compat

2.32.56

04 May 18:25
Compare
Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed rendering in Mesen2
  • Fixed brightness in ioquake3
  • Fixed a hang at launch in the xemu emulator
  • Fixed crackling and sped up audio in OpenRCT2
  • Fixed fullscreen window positioning on Wayland with multiple displays
  • Key events are now sent for dead keys on X11
  • Fixed mouse wheel integer scrolling values
  • Fixed a double-free when working with RLE surfaces
  • Fixed a memory leak in SDL_LockTextureToSurface()
  • Fixed sending SDL3 controller events to SDL2 applications

2.32.54

31 Mar 21:28
Compare
Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • sdl2_compat.pc was renamed to sdl2-compat.pc
  • Fixed creating fullscreen exclusive windows
  • Fixed relative mouse motion for Half-Life and mods on Windows
  • Fixed crash during controller hotplug in RetroArch
  • Fixed display scale under Wayland in ioquake3
  • Default to using X11 for the UE5 editor, fixing mouse input
  • Fixed SDL_SetWindowInputFocus() return value
  • Improved accuracy of SDL_GetRenderDriverInfo()
  • Improved handling of very slight mouse movements

2.32.52

02 Mar 04:54
Compare
Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Fixed tiny scaled window in recent versions of Wesnoth
  • Fixed a rare deadlock when opening an audio device using PipeWire on Linux
  • Fixed font display glitch in m8c
  • Fixed missing input in Stylus Labs Write
  • Fixed scrcpy exiting when keys repeat under Wayland
  • Fixed continually running when a gamepad is connected while playing Super Meat Boy
  • Fixed sound cutting out while using Kdenlive
  • Fixed gyro sensor data in the vita3k emulator
  • Fixed broken keyboard input in gamescope under Wayland
  • Fixed distorted audio and broken system key capture in Moonlight
  • Fixed rendering in Mesen2
  • Fixed controller input in D2X-Rebirth
  • Fixed keyboard input in Xash3D
  • Fixed rendering in Tauon Music Box
  • Fixed crash when exiting Half-Life: MMod
  • Fixed Russian input on EndeavourOS

2.32.50

08 Feb 18:49
Compare
Choose a tag to compare

This is a stable bugfix release, with the following changes:

  • Updated for the SDL 2.32.0 release
  • Audio devices can be enumerated at startup and have names matching SDL2 conventions

2.30.54

07 Feb 00:54
Compare
Choose a tag to compare

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

02 Feb 01:29
Compare
Choose a tag to compare

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

29 Jan 21:15
Compare
Choose a tag to compare

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

21 Jan 21:09
Compare
Choose a tag to compare

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.