From eb19e360e737454f47093334e7f1dfa0303961ef Mon Sep 17 00:00:00 2001 From: Cobrand Date: Fri, 5 May 2017 09:21:57 +0200 Subject: [PATCH] Add entry for `Window::surface()` in changelog --- changelog.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/changelog.md b/changelog.md index bc6f2f98..b0244fb9 100644 --- a/changelog.md +++ b/changelog.md @@ -69,6 +69,11 @@ let (r, g, b, a) = color.rgba(); * **VideoSystem::display_name** now returns a `Result` 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)**