Skip to content

Commit 53b8a66

Browse files
committed
Fmt.
1 parent 1013dfe commit 53b8a66

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

crates/processing_render/src/graphics.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,10 @@ pub fn update_region(
490490
.ok_or(ProcessingError::GraphicsNotFound)?;
491491

492492
let texture = view_target.main_texture();
493-
eprintln!("update_region: writing to texture {:p} at ({}, {}) size {}x{}", texture as *const _, x, y, width, height);
493+
eprintln!(
494+
"update_region: writing to texture {:p} at ({}, {}) size {}x{}",
495+
texture as *const _, x, y, width, height
496+
);
494497
let bytes_per_row = width * px_size;
495498

496499
render_queue.write_texture(

crates/processing_render/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ mod surface;
66

77
use std::{cell::RefCell, num::NonZero, path::PathBuf, sync::OnceLock};
88

9+
#[cfg(not(target_arch = "wasm32"))]
10+
use bevy::log::tracing_subscriber;
911
use bevy::{
1012
app::{App, AppExit},
1113
asset::AssetEventSystems,
1214
prelude::*,
1315
render::render_resource::{Extent3d, TextureFormat},
1416
};
15-
#[cfg(not(target_arch = "wasm32"))]
16-
use bevy::log::tracing_subscriber;
1717
use render::{activate_cameras, clear_transient_meshes, flush_draw_commands};
1818
use tracing::debug;
1919

0 commit comments

Comments
 (0)