Skip to content

Commit

Permalink
Update miniquad version
Browse files Browse the repository at this point in the history
  • Loading branch information
not-fl3 committed Jul 25, 2023
1 parent a84eb77 commit a621304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "macroquad"
version = "0.4.1"
version = "0.4.2"
authors = ["not-fl3 <[email protected]>"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -26,7 +26,7 @@ opt-level = 3
all-features = true

[dependencies]
miniquad = { version = "=0.4.0-alpha.5", features = ["log-impl"] }
miniquad = { version = "=0.4.0-alpha.6", features = ["log-impl"] }
quad-rand = "0.2.1"
glam = {version = "0.21", features = ["scalar-math"] }
image = { version = "0.24", default-features = false, features = ["png", "tga"] }
Expand Down
7 changes: 0 additions & 7 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -757,13 +757,6 @@ impl Window {
}

pub fn from_config(mut config: conf::Conf, future: impl Future<Output = ()> + 'static) {
let metal = std::env::args().nth(1).as_deref() == Some("metal");
config.platform.apple_gfx_api = if metal {
conf::AppleGfxApi::Metal
} else {
conf::AppleGfxApi::OpenGl
};

miniquad::start(conf::Conf { ..config }, move || {
thread_assert::set_thread_id();
unsafe {
Expand Down

0 comments on commit a621304

Please sign in to comment.