diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/polystar.c | 5 | ||||
-rw-r--r-- | test/polystar2.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/test/polystar.c b/test/polystar.c index 136b6aa..a9ac11c 100644 --- a/test/polystar.c +++ b/test/polystar.c @@ -118,7 +118,10 @@ int main(int argc, char **argv) } nsfb_update(nsfb, &box); - sleepMilli(100); + + if (fetype != NSFB_SURFACE_RAM) { + sleepMilli(400); + } } /* wait for quit event or timeout */ diff --git a/test/polystar2.c b/test/polystar2.c index a843f9d..4644ed5 100644 --- a/test/polystar2.c +++ b/test/polystar2.c @@ -112,7 +112,10 @@ int main(int argc, char **argv) sides += 2; nsfb_update(nsfb, &box); - sleepMilli(400); + + if (fetype != NSFB_SURFACE_RAM) { + sleepMilli(400); + } } /* wait for quit event or timeout */ |