diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index ecaeefecfe..a1946db5a9 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -25,13 +25,13 @@ vulkan-portability = ["wgc/gfx-backend-vulkan"] [target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc] package = "wgpu-core" git = "https://github.com/gfx-rs/wgpu" -rev = "4846e41eb0ffcaafe148833bc25c3a18abce1b26" +rev = "01733a2f45143ee43d2a3473bc618fd06cfc076d" features = ["raw-window-handle"] [dependencies.wgt] package = "wgpu-types" git = "https://github.com/gfx-rs/wgpu" -rev = "4846e41eb0ffcaafe148833bc25c3a18abce1b26" +rev = "01733a2f45143ee43d2a3473bc618fd06cfc076d" [dependencies] arrayvec = "0.5" diff --git a/wgpu/src/backend/direct.rs b/wgpu/src/backend/direct.rs index 18e45dbd42..c15eeacec6 100644 --- a/wgpu/src/backend/direct.rs +++ b/wgpu/src/backend/direct.rs @@ -225,7 +225,7 @@ mod pass_impl { offset: wgt::BufferAddress, size: Option, ) { - wgpu_render_pass_set_index_buffer(self, buffer.id, index_format, offset, size) + self.set_index_buffer(buffer.id, index_format, offset, size) } fn set_vertex_buffer( &mut self, @@ -420,7 +420,7 @@ mod pass_impl { offset: wgt::BufferAddress, size: Option, ) { - wgpu_render_bundle_set_index_buffer(self, buffer.id, index_format, offset, size) + self.set_index_buffer(buffer.id, index_format, offset, size) } fn set_vertex_buffer( &mut self,