Repository navigation
Releases
Releases Β· libsdl-org/SDL
3.4.20
This is a stable bugfix release, with the following changes:
- Fixed mouse wheel direction in mouse relative mode on Windows
- Improved Wayland clipboard handling
- Fixed color cursor alpha mask on X11
- Fixed a crash when Vulkan texture memory binding fails
- Fixed transparent windows using the Vulkan renderer
- Improved handling of Nintendo Switch controller calibration
- Fixed Nintendo Switch controllers failing because of missing stick and IMU calibration
- Fixed reports stopping on the Flydigi Vader 5 Pro while the Flydigi Space Station service is running
- Added support for rumble and trigger rumble on the Flydigi Vader 5 Pro
- Added support for the 8BitDo Ultimate 2C Wireless controller via HIDAPI
- Fixed a crash recording float audio on Android 10
- Improved relative mouse mode handling on Android
- Fixed window orientation on iOS 27
- Fixed keyboard focus when using the latest Xcode on iOS
3.4.18
This is a stable bugfix release, with the following changes:
- Fixed crashing at startup if a broken EZFRD64.DLL is installed
- Fixed a crash at shutdown if X11 IME services restarted during the session
- Fixed KMSDRM initialization on some systems including i.MX 6 hardware
- Fixed texture alpha blending and texel centering when rendering on PS2
- Implemented joystick hotplugging on PS2
- Added SDL_GAMEPAD_TYPE_STEAM for Steam Controllers
- Fixed the Steam Controller showing up twice on macOS 27
- Added support for the Flydigi Apex 6 controller
- Fixed the Keychron Q6 System Control showing up as a gamepad
- Fixed relative mouse clicks showing as key presses on some Android devices
- The pen device type is included with pen events
- Correctly report the eraser in pen events on Wayland
- Fixed handling time values before the UNIX epoch (January 1, 1970)
3.4.16
This is a stable bugfix release, with the following changes:
- Fixed loading BMP files with < 8 bits per pixel and odd widths
- Fixed the depth format sample count support check in the GPU API
- Fixed the SDL_QueryGPUFence() return value on Apple platforms
- Fixed textures being rendered with half opacity on PS2
- Fixed windows staying on screen after SDL_Quit() on macOS
- Removed WM_TAKE_FOCUS from WM_PROTOCOLS for X11 windows
- Added SDL_HINT_ANDROID_AAUDIO_INPUT_PRESET instead of hard-coding the camcorder preset on Android
- Report SDL_PenInputFlags in SDL_PenProximityEvent
- Fixed vertical high-resolution mouse wheel scaling on evdev
- Fixed joystick stick calibration on Nintendo Joy-Con controllers
3.4.14
This is a stable bugfix release, with the following changes:
- GPU buffers and textures can have multiple read usages
- Fixed X11 crash if the IME service was shutdown in the background
- Fixed hang when hiding an X11 window on some window managers
- Fixed being unable to get clipboard text on older versions of macOS
- Fixed the 8BitDo Pro 3 controller showing up twice on macOS
- Fixed Xbox controllers not being detected if SDL is built with GameInput support
- Fixed pen creating phantom mouse events in relative mode on Android
3.4.12
This is a stable bugfix release, with the following changes:
- Fixed an assert on Windows in SDL_SetWindowOpacity()
- Improved support for external surfaces under Wayland
- Fixed visual artifacts when switching render targets with the Vulkan renderer
- Fixed crash rendering YUV textures on NVIDIA drivers with the Vulkan renderer
- Added SDL_HINT_ENABLE_STEAM_SCREEN_KEYBOARD to customize behavior on Steam Deck and Steam Machine
- Improved support for gamepads under Emscripten
- Added hotplug detection support when using libusb for HIDAPI controllers
- Fixed flipped Xbox 360 controller axes on macOS
- Fixed truncated long text input sequences when using sdl2-compat
3.4.10
This is a stable bugfix release, with the following changes:
- Allow depth texture arrays in the GPU API
- Fixed a crash when copying to the Vulkan swapchain with the GPU API
- Added support for packed 16-bit texture formats in the Metal renderer
- Fixed rare cursor corruption on Windows
- Fixed the text edit cursor position when using the Korean IME on Windows
- Added controller sensor support for GameInput v3
- Added support for gamepad motion sensors on Android
- Release wired controllers back to the OS when the application is in the background on Android
- Fixed Ipega controllers being ignored in keyboard mode
- Added support for GameCube rumble when the adapter is in PC mode and has the latest firmware
- Fixed rumble on the new Steam Controller
- Added support for the GameSir Super Nova in Xbox 360 mode
- Added support for the PDP Afterglow Wave Wireless Controller for Switch
- Fixed several second hang when changing focus on X11 in some situations
- Disable the X Synchronization Extension by default, can be enabled with SDL_HINT_VIDEO_X11_ENABLE_XSYNC_EXT
- Fixed SDL_HINT_MOUSE_FOCUS_CLICKTHROUGH on X11
- Fixed a rare crash on Raspberry Pi when creating a window
3.4.8
This is a hotfix release, with the following changes:
- Fixed a controller related crash on Windows, introduced in 3.4.6
- Fixed a crash when showing a dialog on Unix if zenity isn't installed
3.4.6
This is a stable bugfix release, with the following changes:
- Fixed Xbox controllers being unresponsive on preview release of Windows 11
- Fixed enumerating subdirectories in the application assets on Android
- Fixed the on-screen keyboard being hidden while shown on Android
- Fixed text input being canceled when the on-screen keyboard goes away on iOS
- Fixed pen hover getting a stale position when lifting off the iPad on iOS
- Fixed the menu button state on controllers on Apple platforms
- Fixed scaled cursor image selection on Wayland
- Fixed horizontal touchpad scrolling direction on X11
- Fixed crash on exit when using KMSDRM in atomic mode
- Fixed multi-threaded crashes using SDL GPU on Vulkan and Metal
- Fixed building for GDK on Windows
3.4.4
This is a stable bugfix release, with the following changes:
- Fixes a crash when calling SDL_RenderGeometryRaw() with both texture and uv set to NULL
- Default SDL_GL_FRAMEBUFFER_SRGB_CAPABLE back to zero, to fix brightness issues with existing applications
- Prevent the window from growing when scale to display is used on Wayland
- Scale custom cursors with the pointer scale on Wayland
- Fixed missing mouse cursor on KMSDRM
- Remove the window shape when SDL_SetWindowShape() is passed NULL
- Fixed sending duplicate key down events when reconciling X11 modifier state
- Fixed backspace handling on Android with API 30+
- Added SDL_HINT_WINDOWS_RAW_KEYBOARD_INPUTSINK to add the RIDEV_INPUTSINK flag for raw input on Windows
- Fixed Print Screen key capture during keyboard grab
- Fixed pipewire audio output hanging under heavy load
- Fixed DirectSound buffer creation failure with >200kHz
- Implemented support for SDL_HINT_AUDIO_DEVICE_STREAM_ROLE on Android
- Fixed a crash when setting framerate for a camera on macOS
- Fixed an out of memory issue opening a V4L2 camera with FRMIVAL_TYPE_CONTINUOUS
- Disabled system gesture state for game controllers on macOS
- Added support for SL/SR on Switch 2 controllers in mini-controller mode
- Added battery status for newer FlyDigi controllers
- Added support for the Flydigi Vader 5 Pro in Xbox 360 mode
- Added support for battery status on third-party DualSense controllers
- Added support for accelerometers on third-party PS3 controllers
- Fixed opening the wrong controller index on PS2
- Added support for the ZUIKI EVOTOP controller
- Added support for persistent storage with Emscripten (see SDL_EMSCRIPTEN_PERSISTENT_PATH)
- Fixed several issues with globbing directories
- Fixed the Windows file dialog calling the callback twice in some cases
3.4.2
This is a stable bugfix release, with the following changes:
- Enabled Vulkan support on OpenBSD
- Don't include KHR_portability_enumeration by default on macOS
- Added support for GPU ARGB1555 (B5G5R5A1_UNORM) textures with Direct3D11
- Fixed D3D12 DSV creation for array/cube/cube-array depth textures
- Added SDL_PROP_GPU_DEVICE_CREATE_METAL_ALLOW_MACFAMILY1_BOOLEAN to allow using the GPU API with older Mac hardware
- Added SDL_HINT_OPENGL_FORCE_SRGB_FRAMEBUFFER to force specific sRGB behavior for OpenGL and OpenGL ES
- Fixed long startup time on Windows when some non-compliant input devices are present
- Fixed a crash at startup when the broken EZFRD64.DLL is present
- Added support for the Razer Raiju V5 Pro
- Fixed a divide by zero when using Nintendo Switch 2 controllers
- Fixed hang sending output reports to the NVIDIA SHIELD Controller on macOS
- Fixed various controllers showing up twice on macOS
- Fixed handling GameCube adapters in PC mode on Linux and macOS
- Added share button mapping to Xbox Series X controller on Android
- Added support for the third stylus button on Android
- Fixed high audio latency on Android
- Fixed only one mouse button being usable at a time on Emscripten
- Fixed SDL_SetWindowIcon on single-threaded Emscripten builds
- Fixed SDL_GlobDirectory on iOS and Android
- Fixed some textures rendering too small on the PSP