From a9b750f003c711eb08cbc4b6b383de0ddab6ddcc Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Thu, 17 Oct 2024 23:33:03 +1100 Subject: fix rust bindings --- bindgen/rust/celeritas-sys/src/lib.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'bindgen/rust/celeritas-sys/src/lib.rs') diff --git a/bindgen/rust/celeritas-sys/src/lib.rs b/bindgen/rust/celeritas-sys/src/lib.rs index 9ea3e47..3d877a4 100644 --- a/bindgen/rust/celeritas-sys/src/lib.rs +++ b/bindgen/rust/celeritas-sys/src/lib.rs @@ -102,14 +102,14 @@ include!(concat!(env!("OUT_DIR"), "/bindings.rs")); // }; // } -impl Default for ShaderBinding { +impl Default for shader_binding { fn default() -> Self { Self { label: "static".as_ptr() as *const _, - kind: ShaderBindingKind_BINDING_COUNT, - vis: ShaderVisibility_VISIBILITY_VERTEX, - data: ShaderBinding__bindgen_ty_1 { - bytes: ShaderBinding__bindgen_ty_1__bindgen_ty_1 { + binding_type: shader_binding_type_BINDING_BUFFER, + visibility: shader_stage_STAGE_VERTEX, + data: shader_binding__bindgen_ty_1 { + bytes: shader_binding__bindgen_ty_1__bindgen_ty_1 { size: 0, data: std::ptr::null_mut(), }, -- cgit v1.2.3-70-g09d2