mirror of
https://github.com/Xevion/Pac-Man.git
synced 2025-12-16 08:12:33 -06:00
fix: remove redundant double canvas copy
This commit is contained in:
@@ -225,8 +225,6 @@ pub fn render_system(
|
|||||||
})
|
})
|
||||||
.err()
|
.err()
|
||||||
.map(|e| errors.write(TextureError::RenderFailed(e.to_string()).into()));
|
.map(|e| errors.write(TextureError::RenderFailed(e.to_string()).into()));
|
||||||
|
|
||||||
canvas.copy(&backbuffer.0, None, None).unwrap();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn present_system(
|
pub fn present_system(
|
||||||
|
|||||||
Reference in New Issue
Block a user