File tree Expand file tree Collapse file tree
crates/processing_render/src Expand file tree Collapse file tree Original file line number Diff line number Diff 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?
497496pub fn warmup ( app : & mut App , entity : Entity ) -> Result < ( ) > {
498497 let main_texture = {
You can’t perform that action at this time.
0 commit comments