diff --git a/Cargo.toml b/Cargo.toml index a816d54..9bcd32d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,6 @@ version = "0.2.4" [dev-dependencies] cocoa = "0.25.0" -cty = "0.2.1" winit = "0.29" sema = "0.1.4" png = "0.17" diff --git a/examples/circle/main.rs b/examples/circle/main.rs index 7124a58..9fb9500 100644 --- a/examples/circle/main.rs +++ b/examples/circle/main.rs @@ -20,10 +20,10 @@ use std::mem; // based on C++ #[repr(C)] #[derive(Debug)] -pub struct position(cty::c_float, cty::c_float); +pub struct position(std::ffi::c_float, std::ffi::c_float); #[repr(C)] #[derive(Debug)] -pub struct color(cty::c_float, cty::c_float, cty::c_float); +pub struct color(std::ffi::c_float, std::ffi::c_float, std::ffi::c_float); #[repr(C)] #[derive(Debug)] pub struct AAPLVertex {