diff --git a/drivers/video/Gallium/targets/graw_kos/graw_kos.c b/drivers/video/Gallium/targets/graw_kos/graw_kos.c index 9b1220c785..61335e6f88 100644 --- a/drivers/video/Gallium/targets/graw_kos/graw_kos.c +++ b/drivers/video/Gallium/targets/graw_kos/graw_kos.c @@ -120,7 +120,7 @@ graw_main_loop(void) while(1) { - ev = wait_for_event(100); + ev = wait_for_event(2); switch(ev) { @@ -141,9 +141,11 @@ graw_main_loop(void) if( key.code == 0x1b) return; continue; - - default: - continue; }; + if (graw.draw) + { + graw.draw(); + } + }; }