We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5a2f443 commit 5fcba48Copy full SHA for 5fcba48
examples/app/headless_renderer.rs
@@ -158,8 +158,8 @@ mod frame_capture {
158
);
159
160
let texture_extent = Extent3d {
161
- width: src_image.size.x as u32,
162
- height: src_image.size.y as u32,
+ width: src_image.size.x,
+ height: src_image.size.y,
163
depth_or_array_layers: 1,
164
};
165
@@ -332,7 +332,7 @@ mod frame_capture {
332
333
let images_dir =
334
PathBuf::from(env!("CARGO_MANIFEST_DIR")).join("test_images");
335
- print!("Saving image to: {:?}\n", images_dir);
+ println!("Saving image to: {images_dir:?}");
336
std::fs::create_dir_all(&images_dir).unwrap();
337
338
let number = rng.gen::<u128>();
0 commit comments