Skip to content

Commit

Permalink
Fix screen example depth clipping issue in small viewport (#441)
Browse files Browse the repository at this point in the history
  • Loading branch information
Finomnis committed Feb 15, 2024
1 parent fb985f6 commit c9d831c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/screen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ pub fn main() {
.screen()
.clear_partially(
secondary_viewport.into(),
ClearState::color(0.3, 0.3, 0.3, 1.0),
ClearState::color_and_depth(0.3, 0.3, 0.3, 1.0, 1.0),
)
.render_partially(secondary_viewport.into(), &camera, &model, &[]);

Expand Down

0 comments on commit c9d831c

Please sign in to comment.