enable event waiting for better cpu utilization
This commit is contained in:
parent
7528ed007e
commit
d63cdb1c01
1 changed files with 1 additions and 0 deletions
|
|
@ -21,6 +21,7 @@
|
|||
void kubo_window_init(struct kubo_context *context) {
|
||||
SetConfigFlags(FLAG_WINDOW_RESIZABLE);
|
||||
InitWindow(KUBO_WINDOW_WIDTH, KUBO_WINDOW_HEIGHT, "Kubo");
|
||||
EnableEventWaiting();
|
||||
SetExitKey(0);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue