rust-sdl2 v0.35.0 Release Notes
-
💥 BREAKING CHANGE Update
sdl2-sys/sdl_bindings.rs
to use enums instead of consts. If you were usingsdl2-sys
's enum variants directly in your project, you may be affected. If you only used sdl2 calls, there should not be any problems.💥 BREAKING CHANGE SDL 2.0.14 or higher is now recommended due to the new binding being added for
SDL_OpenURL
. If you get linking errors, upgrade your SDL2 libraries, or swap to using thebundled
feature.
PR #1138 Added binding for
SDL_OpenURL
PR #1150 Do not download SDL2 sources when using bundled feature
PR #1112 Add wrapper functions for
SDL_RenderSetIntegerScale
andSDL_RenderGetIntegerScale
PR #1156 Maybe breaking change: new variants to enum
GameController
, and prevent panic with unrecognized buttons.PR #1153
SDL_GL_GetCurrentContext
andSDL_RenderFlush
added.PR #1131 Added Sensor API.