From 33bc5c8c021cd5f337554d33d5ce85a0e6b364b3 Mon Sep 17 00:00:00 2001 From: Joey Bzdek Date: Wed, 14 Jun 2017 10:33:36 -0600 Subject: demos: Clang-format Wayland and cube.cpp refactor Change-Id: I73dac6489e41a94fc53a1c7942888a3a6479a805 --- demos/cube.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'demos/cube.c') diff --git a/demos/cube.c b/demos/cube.c index 0fd29f91..2a949ea2 100644 --- a/demos/cube.c +++ b/demos/cube.c @@ -2781,8 +2781,7 @@ static void demo_run(struct demo *demo) { while (!demo->quit) { if (demo->pause) { wl_display_dispatch(demo->display); // block and wait for input - } - else { + } else { wl_display_dispatch_pending(demo->display); // don't block demo_draw(demo); demo->curFrame++; -- cgit v1.2.3