Skip to content

Commit 97efc2a

Browse files
committed
fix hosted mode
1 parent 65b2040 commit 97efc2a

File tree

1 file changed

+4
-1
lines changed
  • services/graphics-server/src/backend

1 file changed

+4
-1
lines changed

services/graphics-server/src/backend/minifb.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,10 @@ impl FrameBuffer for XousDisplay {
237237
}
238238

239239
/// Swaps the drawable buffer to the screen and sends it to the hardware
240-
fn draw(&mut self) { self.redraw(); }
240+
fn draw(&mut self) -> Result<(), xous::Error> {
241+
self.redraw();
242+
Ok(())
243+
}
241244

242245
/// Clears the drawable buffer
243246
fn clear(&mut self) {

0 commit comments

Comments
 (0)