Skip to content

Commit

Permalink
Bump to 0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
emoon committed May 11, 2024
1 parent 633e6cd commit 17941ee
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,18 @@

This project follows semantic versioning.

### v0.26 (2024-05-11)

- [fixed] Lots of formatting & style fixes (Thanks Stefano Incardone!)
- [fixed] raw-window-handle 0.6 (Thanks Stefano Incardone!)
- [fixed] Lots of various fixes and cleanups (Thanks Stefano Incardone!)
- [fixed] repr(C) on Window Struct (Thanks gillet-hernadez!)
- [fixed] Switch Linux scalar code from C++ to C (Thanks Speykious!)
- [API BREAKAGE] `limit_update_rate` has been removed. Use `set_fps_target` instead.

### v0.25 (2023-08-02)

- [fixed] 11: Fix changing window title (Thanks royaltm!)
- [fixed] Fix changing window title (Thanks royaltm!)

### v0.24 (2023-02-18)

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "minifb"
version = "0.25.0"
version = "0.26.0"
license = "MIT OR Apache-2.0"
authors = ["Daniel Collin <daniel@collin.com>"]
description = "Cross-platform window setup with optional bitmap rendering"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Usage
```toml
# Cargo.toml
[dependencies]
minifb = "0.25"
minifb = "0.26"
```

Example
Expand All @@ -39,7 +39,7 @@ fn main() {
});

// Limit to max ~60 fps update rate
window.limit_update_rate(Some(std::time::Duration::from_micros(16600)));
window.set_target_fps(60);

while window.is_open() && !window.is_key_down(Key::Escape) {
for i in buffer.iter_mut() {
Expand Down

0 comments on commit 17941ee

Please sign in to comment.