tasks: rendering: commit surfaces before drawing
This commit is contained in:
@@ -22,6 +22,7 @@ pub async fn oled_render(mut output: SsdOutput, surfaces: OledUiSurfacePool, uni
|
||||
|
||||
loop {
|
||||
let start = Instant::now();
|
||||
surfaces.commit();
|
||||
{
|
||||
let mut locked = uniforms.lock().await;
|
||||
output.clear(BinaryColor::Off).unwrap();
|
||||
|
||||
Reference in New Issue
Block a user