mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 07:41:12 +00:00
fixed high mem+CPU usage for gui-example and editor
This commit is contained in:
parent
5aefc62ecf
commit
ace5b066f8
2 changed files with 0 additions and 2 deletions
|
@ -187,7 +187,6 @@ fn run_event_loop(title: &str, root: RocElem) -> Result<(), Box<dyn Error>> {
|
|||
} => {
|
||||
keyboard_modifiers = modifiers;
|
||||
}
|
||||
Event::MainEventsCleared => window.request_redraw(),
|
||||
Event::RedrawRequested { .. } => {
|
||||
// Get a command cmd_encoder for the current frame
|
||||
let mut cmd_encoder =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue