Skip to content

Commit

Permalink
Added debug help for screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
AlanRace committed Nov 18, 2022
1 parent ea1992f commit 821d45e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/camera.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@ fn handle_camera_event(
depth_or_array_layers: 4,
};

println!("Setting up screenshot: {:?}", size);
println!("Setting up screenshot: {:?} | {:?}", size, view_texture.size());
println!("Setting up screenshot: {:?} | {:?}", size, images.get(&camera_setup.target.as_ref().unwrap()).size());

// TODO: update the size of cpu_target here to re

Expand Down

0 comments on commit 821d45e

Please sign in to comment.