Skip to content

Commit

Permalink
[error] create texture view
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Nov 20, 2020
1 parent 887286d commit 793169b
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 176 deletions.
3 changes: 2 additions & 1 deletion player/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,8 @@ impl GlobalPlay for wgc::hub::Global<IdentityPassThroughFactory> {
desc,
} => {
self.device_maintain_ids::<B>(device).unwrap();
self.texture_create_view::<B>(parent_id, &desc, id).unwrap();
let (_, error) = self.texture_create_view::<B>(parent_id, &desc, id);
assert_eq!(error, None);
}
A::DestroyTextureView(id) => {
self.texture_view_drop::<B>(id).unwrap();
Expand Down
Loading

0 comments on commit 793169b

Please sign in to comment.