Skip to content

Commit f610708

Browse files
committed
Fmt.
1 parent d49fe2c commit f610708

1 file changed

Lines changed: 4 additions & 5 deletions

File tree

crates/processing_render/src/graphics.rs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -486,13 +486,12 @@ pub fn end_draw(app: &mut App, entity: Entity) -> Result<()> {
486486
present(app, entity)
487487
}
488488

489-
490-
/// Do some work on the GPU to ensure that the render target texture is initialized and can be read
489+
/// Do some work on the GPU to ensure that the render target texture is initialized and can be read
491490
/// from/written to.
492-
///
493-
/// This is necessary on some platforms (notably macOS) to avoid issues with the first few frames of
491+
///
492+
/// This is necessary on some platforms (notably macOS) to avoid issues with the first few frames of
494493
/// rendering being corrupted or not appearing at all.
495-
///
494+
///
496495
// TODO: why is metal particularly affected by this? can we remove this?
497496
pub fn warmup(app: &mut App, entity: Entity) -> Result<()> {
498497
let main_texture = {

0 commit comments

Comments
 (0)