diff options
| author | Joey Bzdek <joey@lunarg.com> | 2017-06-14 10:33:36 -0600 |
|---|---|---|
| committer | joey-lunarg <joey@lunarg.com> | 2017-07-14 14:15:00 -0600 |
| commit | 33bc5c8c021cd5f337554d33d5ce85a0e6b364b3 (patch) | |
| tree | 3955369556093988aea4e5ea83ec57deeb02caef /demos/cube.c | |
| parent | 15eb070fdbfc376e872555ba170429fc5aacebda (diff) | |
| download | usermoji-33bc5c8c021cd5f337554d33d5ce85a0e6b364b3.tar.xz | |
demos: Clang-format Wayland and cube.cpp refactor
Change-Id: I73dac6489e41a94fc53a1c7942888a3a6479a805
Diffstat (limited to 'demos/cube.c')
| -rw-r--r-- | demos/cube.c | 3 |
1 files changed, 1 insertions, 2 deletions
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++; |
