mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 16:31:11 +01:00
1077: Remove extern "C" from set_index_buffer r=kvark a=DevOrc **Connections** Fixes an issue that is blocking gfx-rs/wgpu-native#61 **Description** Moves the ffi definition of wgpu_render_bundle_set_index_buffer / wgpu_render_pass_set_index_buffer to wgpu-native. This is needed because wgpu-native has its own version of IndexFormat that is different than the wgpu_types version. **Testing** My projects with wgpu-native work Co-authored-by: Noah Charlton <ncharlton002@gmail.com>