Skip to content

Commit

Permalink
Restore camera clear as it was originally
Browse files Browse the repository at this point in the history
  • Loading branch information
Shatur committed Feb 23, 2024
1 parent 8e0ea12 commit aefdcd3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/splitscreen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ fn setup(
camera: Camera {
// Renders the right camera after the left camera, which has a default priority of 0
order: 1,
// Don't clear on the second camera because the first camera already cleared the window
clear_color: ClearColorConfig::None,
..default()
},
camera_3d: Camera3d::default(),
Expand Down

0 comments on commit aefdcd3

Please sign in to comment.