You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Well, how would you implement that? If sdl2-sys was dynamically generated via bindgen, we would be able to get this macro right, but otherwise there is simply no way. Say SDL_VERSION becomes 2.0.6, and it has code dependant on it; what happens if that code actually uses 2.0.5?
https://wiki.libsdl.org/SDL_VERSION doesn't seem to be exposed.
sdl2::version::version
usesSDL_GetVersion
(https://github.com/Rust-SDL2/rust-sdl2/blob/master/src/sdl2/version.rs#L38), which returns the linked version.SDL_VERSION
returns the compiled version instead.SDL_VERSION
is crucial for functions like https://wiki.libsdl.org/SDL_GetWindowWMInfo.The text was updated successfully, but these errors were encountered: