diff --git a/Source/Frameworks/gyroflow/Cargo.toml b/Source/Frameworks/gyroflow/Cargo.toml index 45cad2f0..6fbb68c1 100644 --- a/Source/Frameworks/gyroflow/Cargo.toml +++ b/Source/Frameworks/gyroflow/Cargo.toml @@ -20,4 +20,4 @@ lazy_static = "1.4" lru = "0.10" nalgebra = { version = "0.32", features = ["serde-serialize"] } once_cell = "1.16.0" -metal = "0.24.0" \ No newline at end of file +metal = { version = "0.25.0", git = "https://github.com/gfx-rs/metal-rs.git", rev = "a6a0446" } \ No newline at end of file diff --git a/Source/Frameworks/gyroflow/src/lib.rs b/Source/Frameworks/gyroflow/src/lib.rs index 13c5e0f4..e50013bb 100644 --- a/Source/Frameworks/gyroflow/src/lib.rs +++ b/Source/Frameworks/gyroflow/src/lib.rs @@ -205,17 +205,19 @@ pub extern "C" fn processFrame( // Stabilization time! //--------------------------------------------------------- let mut buffers = Buffers { - input: BufferDescription { - size: (output_width, output_height, input_stride), - rect: None, - data: BufferSource::Metal { texture: in_mtl_tex as *mut metal::MTLTexture, command_queue: command_queue as *mut metal::MTLCommandQueue }, - texture_copy: true - }, output: BufferDescription { size: (output_width, output_height, output_stride), rect: None, data: BufferSource::Metal { texture: out_mtl_tex as *mut metal::MTLTexture, command_queue: command_queue as *mut metal::MTLCommandQueue }, - texture_copy: true + rotation: None, + texture_copy: true, + }, + input: BufferDescription { + size: (output_width, output_height, input_stride), + rect: None, + data: BufferSource::Metal { texture: in_mtl_tex as *mut metal::MTLTexture, command_queue: command_queue as *mut metal::MTLCommandQueue }, + rotation: None, + texture_copy: true, } };