Minor cleanup

This commit is contained in:
Graham Wihlidal 2019-02-14 12:28:29 +01:00
parent 658743f59b
commit 3941c762a7

View file

@ -219,7 +219,7 @@ impl RayTracing {
let err_code = self.ray_tracing_fn.get_acceleration_structure_handle_nv( let err_code = self.ray_tracing_fn.get_acceleration_structure_handle_nv(
self.handle, self.handle,
accel_struct, accel_struct,
8, // sizeof(u64) std::mem::size_of::<u64>(),
handle_ptr as *mut std::ffi::c_void, handle_ptr as *mut std::ffi::c_void,
); );
match err_code { match err_code {