From b816f7dfeaf78ce1df91f8fbb900a65079c4bcf3 Mon Sep 17 00:00:00 2001 From: Miloas <0x9357@gmail.com> Date: Tue, 13 Apr 2021 02:45:14 +0800 Subject: [PATCH] fix MacOS sdl2 bug (#542) --- Cargo.lock | 6 ++++-- Cargo.toml | 4 ++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d20cab6..010140e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,5 +1,7 @@ # This file is automatically @generated by Cargo. # It is not intended for manual editing. +version = 3 + [[package]] name = "ab_glyph_rasterizer" version = "0.1.4" @@ -2299,9 +2301,9 @@ dependencies = [ [[package]] name = "sdl2-sys" -version = "0.34.3" +version = "0.34.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28d81feded049b9c14eceb4a4f6d596a98cebbd59abdba949c5552a015466d33" +checksum = "4cb164f53dbcad111de976bbf1f3083d3fcdeda88da9cfa281c70822720ee3da" dependencies = [ "cfg-if 0.1.10", "cmake", diff --git a/Cargo.toml b/Cargo.toml index 4ac8dd1..b148b11 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,10 +57,10 @@ winapi = { version = "0.3.9", features = ["winuser"] } [target.'cfg(windows)'.build-dependencies] winres = "0.1.11" -sdl2-sys = { version = "0.34.3", default-features = false, features = ["bundled", "static-link"] } +sdl2-sys = { version = "0.34.4", default-features = false, features = ["bundled", "static-link"] } [target.'cfg(macos)'.build-dependencies] -sdl2-sys = { version = "0.34.3", default-features = false, features = ["bundled", "static-link"] } +sdl2-sys = { version = "0.34.4", default-features = false, features = ["bundled", "static-link"] } [profile.release] debug = true