mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Add entry for Window::surface() in changelog
This commit is contained in:
@@ -69,6 +69,11 @@ let (r, g, b, a) = color.rgba();
|
||||
* **VideoSystem::display_name** now returns a `Result<String, String>` instead of a `String`.
|
||||
* This prevents a segfault when the requested display index is out of bounds
|
||||
|
||||
[commit e9681a0fe](https://github.com/AngryLawyer/rust-sdl2/commit/e9681a0fe)
|
||||
|
||||
* `window.surface()` has been changed and is now more intuitive to use.
|
||||
* The example in `examples/no-renderer.rs` shows how to use this feature.
|
||||
|
||||
[PR #635](https://github.com/AngryLawyer/rust-sdl2/pull/635)
|
||||
|
||||
* **Depprecated `Rect::contains`**, added `Rect::contains_point` and `Rect::contains_rect`. **`contains` and `contains_point` are close but different ! See [here](https://github.com/AngryLawyer/rust-sdl2/issues/569)**
|
||||
|
||||
Reference in New Issue
Block a user