- Updated the bundled SDL2 version to be 2.0.22 Unfortunately, I haven't really had time for this crate in a while, so this just updates the bundled SDL2 version without adding declarations for the new functions.
- Update the
SDL_PATCHLEVEL
to the correct value of 16 (had been left at 14).
- Added
raw-window-handle
(0.4) support via feature. This makes a properly filled outSDL_SysWMinfo
value able to turn itself into the correctRawWindowHandle
enum.
- Updates the SDL2 version to 2.0.16. This adds the following:
- SDL_FlashWindow
- SDL_GetAudioDeviceSpec
- SDL_SetWindowAlwaysOnTop
- SDL_SetWindowKeyboardGrab
- SDL_SetWindowMouseGrab
- SDL_GetWindowKeyboardGrab
- SDL_GetWindowMouseGrab
- SDL_UpdateNVTexture
- SDL_GameControllerSendEffect
- Hint(Linux): SDL_HINT_AUDIO_INCLUDE_MONITORS
- Hint(Linux): SDL_HINT_AUDIO_DEVICE_STREAM_ROLE
As before, functions in SDL_system.h
aren't included.
(I bring this up only because 2.0.16 did add some new system stuff.)
- Correct the value of
SDL_PIXELFORMAT_RGBA32
,SDL_PIXELFORMAT_ARGB32
,SDL_PIXELFORMAT_BGRA32
, andSDL_PIXELFORMAT_ABGR32
.
- Correct the value of
SDLK_ESCAPE
- mark more fields as
pub
that accidentally were notpub
:SDL_Keysym
andSDL_SensorEvent
.
- made the
fermium
binary which will write out the x86_64 dll in the current directory. - marked the inner fields of
VkInstance
andVkSurfaceKHR
aspub
to improve inter-operation with other vulkan libraries. - Added
SDL_GetWindowFromID
- Added the
SDL_GLContext::is_null
method. - Added the C types into the export list of the
prelude
. - Docs for
SDL_Init
now list the return code meaning. - Fixed up all the intra-doc links so they should point to the right stuff.
Added a prelude module to make importing things easy.
Supports SDL2 version 2.0.14