mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Update changelog for VideoSubsys::display_name
This commit is contained in:
@@ -63,3 +63,8 @@ let color = Color::RGB(255, 0, 0);
|
||||
let (r, g, b) = color.rgb();
|
||||
let (r, g, b, a) = color.rgba();
|
||||
```
|
||||
|
||||
[PR #651](https://github.com/AngryLawyer/rust-sdl2/pull/629)
|
||||
|
||||
* **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
|
||||
|
||||
Reference in New Issue
Block a user