fixed patch issue

macos-click-through
keith 5 years ago
parent e3ad491a3a
commit 6c3d286869

2
Cargo.lock generated

@ -1248,7 +1248,7 @@ dependencies = [
"parking_lot", "parking_lot",
"rmpv", "rmpv",
"rust-embed", "rust-embed",
"sdl2", "sdl2-sys",
"skribo", "skribo",
"skulpin", "skulpin",
"tokio", "tokio",

@ -36,10 +36,10 @@ winapi = "0.3.8"
[build-dependencies] [build-dependencies]
winres = "0.1.11" winres = "0.1.11"
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", default-features = false, features = ["bundled", "static-link"] } sdl2-sys = { git = "https://github.com/Rust-SDL2/rust-sdl2", default-features = false, features = ["bundled", "static-link"] }
[patch.crates-io] [patch.crates-io]
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", default-features = false, features = ["bundled", "static-link"] } sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2", default-features = false }
[profile.release] [profile.release]
debug = true debug = true

@ -6,7 +6,6 @@ use log::{debug, error, info, trace};
use skulpin::sdl2; use skulpin::sdl2;
use skulpin::sdl2::event::{Event, WindowEvent}; use skulpin::sdl2::event::{Event, WindowEvent};
use skulpin::sdl2::keyboard::Keycode; use skulpin::sdl2::keyboard::Keycode;
use skulpin::sdl2::video::FullscreenType;
use skulpin::sdl2::Sdl; use skulpin::sdl2::Sdl;
use skulpin::{Window, CoordinateSystem, PresentMode, Renderer as SkulpinRenderer, RendererBuilder, LogicalSize, PhysicalSize, Sdl2Window}; use skulpin::{Window, CoordinateSystem, PresentMode, Renderer as SkulpinRenderer, RendererBuilder, LogicalSize, PhysicalSize, Sdl2Window};

Loading…
Cancel
Save