Merge pull request #431 from erwanvivien/depth-texture-state-field

fix: Missing struct field
pull/427/head^2
sotrh 1 year ago committed by GitHub
commit cdf276a5f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -117,9 +117,20 @@ pub enum CompareFunction {
Don't forget to store the `depth_texture` in `State`.
```rust
Self {
// ...
depth_texture,
struct State {
// ...
depth_texture: Texture,
// ...
}
async fn new(window: &Window) -> Self {
// ...
Self {
// ...
depth_texture,
// ...
}
}
```

Loading…
Cancel
Save