rust-sdl2 v0.32 Release Notes
-
PR #790: Added missing
window_id
field toEvent::DropFile
π PR #789: Audio Safety Fixes
π PR #785: Vulkan Support
- π Move ffi of features (mixer, ...) into
sys
- β‘οΈ Updated SDL2's default version to 2.0.8
π PR #780: Fixed a panic in
keyboard::Mod
PR #775: Added
get_platform
PR #774:
add_timer
is now must_usePR #764: impl
Hash
forPoint
andRect
π PR #763: Allow
-sys
to build forwindows-gnu
targetPR #751: π₯ Breaking change
gl_setswap_interval
now returns aResult
instead of abool
.PR #759: Expose Joystick power level
- π Fix memory leak in
filesystem::base_path()
- π Fix memory leak on
ClipboardUtil::clipboard_text()
PR #740: Implement Debug for Event
PR #737: Fix
ClipboardUtil::set_clipboard_text
to return an Ok when it went well.PR #733: Add
video::border_size -> Result<(u16, u16, u16, u16), String>
equivalent ofSDL_GetWindowBorderSize()
PR #732: Implemented
From<(u8, u8, u8)>
andFrom<(u8, u8, u8, u8)>
forpixels::Color
.Canvas.set_draw_color
can now be called with tuples or other types which implementsInto<pixels::Color>
- π₯ Breaking change set_video_minimize_on_focus_lost was renamed to β¦minimize_on_focus_loss, as it should be. As a bonus, it works now.
- Although this is a breaking change, this function was not working in the first place, so this is hardly a true breaking change
- π Move ffi of features (mixer, ...) into