Skip to content

Commit

Permalink
[rs] Update to latest wgpu master
Browse files Browse the repository at this point in the history
  • Loading branch information
yzsolt committed Dec 14, 2020
1 parent cdda85e commit acf94e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wgpu/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions wgpu/src/backend/direct.rs
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ mod pass_impl {
offset: wgt::BufferAddress,
size: Option<wgt::BufferSize>,
) {
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,
Expand Down Expand Up @@ -420,7 +420,7 @@ mod pass_impl {
offset: wgt::BufferAddress,
size: Option<wgt::BufferSize>,
) {
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,
Expand Down

0 comments on commit acf94e9

Please sign in to comment.