From bd1687896395fb8d59a3903303ef3e57f0e57348 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 4 Aug 2024 10:59:34 +1000 Subject: rust bindings compile again --- bindgen/rust/src/shader.rs | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'bindgen/rust/src/shader.rs') diff --git a/bindgen/rust/src/shader.rs b/bindgen/rust/src/shader.rs index 46db1f3..e80e00b 100644 --- a/bindgen/rust/src/shader.rs +++ b/bindgen/rust/src/shader.rs @@ -1,7 +1,5 @@ use std::{ffi::c_void, path::Path}; -use celeritas_sys::ShaderData; - use crate::ral::{Pipeline, ShaderBinding}; pub struct Shader { @@ -19,10 +17,7 @@ impl Shader { todo!() } pub fn add_layout(&mut self) -> &mut Self { - let sd = ShaderData { - get_layout: Some(rust_function), - data: std::ptr::null_mut(), - }; + // TODO self } } -- cgit v1.2.3-70-g09d2