From b4a333c297adf71c41c3a3931e93dc83e62aed67 Mon Sep 17 00:00:00 2001 From: "Sergey Semyonov (Serge)" Date: Thu, 11 Jul 2013 10:20:05 +0000 Subject: [PATCH] Gallium 3D: loadable softpipe driver git-svn-id: svn://kolibrios.org@3807 a494cfbc-eb01-0410-851d-a64ba20cac60 --- drivers/video/Gallium/targets/graw_kos/graw_kos.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) 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(); + } + }; }