diff options
| author | Mike Schuchardt <mikes@lunarg.com> | 2017-11-01 16:16:22 -0600 |
|---|---|---|
| committer | Lenny Komow <lenny@lunarg.com> | 2017-11-02 12:59:54 -0600 |
| commit | 9a8815136e5d086adac39f6e015c6e4728e5dc88 (patch) | |
| tree | 3680e80ebb15f282e9ac9b6b68a4a2ecfb606e0e /demos/cube.cpp | |
| parent | 833d282dabe29bc28e5bdec8825b68d3be35f359 (diff) | |
| download | usermoji-9a8815136e5d086adac39f6e015c6e4728e5dc88.tar.xz | |
demos: Clarify cube --present_mode option
Change-Id: Ie53724c3612eb5bb9adfbb826149ef87916f0d84
Diffstat (limited to 'demos/cube.cpp')
| -rw-r--r-- | demos/cube.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/demos/cube.cpp b/demos/cube.cpp index 8ef3942b..9b6fe510 100644 --- a/demos/cube.cpp +++ b/demos/cube.cpp @@ -930,12 +930,14 @@ Demo::Demo() } fprintf(stderr, - "Usage:\n %s [--use_staging] [--validate] [--break] " - "[--c <framecount>] [--suppress_popups] [--present_mode <present mode enum>]\n" - "VK_PRESENT_MODE_IMMEDIATE_KHR = %d\n" - "VK_PRESENT_MODE_MAILBOX_KHR = %d\n" - "VK_PRESENT_MODE_FIFO_KHR = %d\n" - "VK_PRESENT_MODE_FIFO_RELAXED_KHR = %d\n", + "Usage:\n %s [--use_staging] [--validate] [--break] [--c <framecount>] \n" + " [--suppress_popups] [--present_mode {0,1,2,3}]\n" + "\n" + "Options for --present_mode:\n" + " %d: VK_PRESENT_MODE_IMMEDIATE_KHR\n" + " %d: VK_PRESENT_MODE_MAILBOX_KHR\n" + " %d: VK_PRESENT_MODE_FIFO_KHR (default)\n" + " %d: VK_PRESENT_MODE_FIFO_RELAXED_KHR\n", APP_SHORT_NAME, VK_PRESENT_MODE_IMMEDIATE_KHR, VK_PRESENT_MODE_MAILBOX_KHR, VK_PRESENT_MODE_FIFO_KHR, VK_PRESENT_MODE_FIFO_RELAXED_KHR); fflush(stderr); |
