From 1f2bb7e20131395a30fc4ce55740de6984d56f10 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 12 May 2023 17:09:01 -0400 Subject: Make examples continuous by default --- test/test_utils.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/test_utils.h b/test/test_utils.h index c1dfb9d..6e979db 100644 --- a/test/test_utils.h +++ b/test/test_utils.h @@ -1,4 +1,4 @@ -// Copyright 2012-2022 David Robillard +// Copyright 2012-2023 David Robillard // SPDX-License-Identifier: ISC #ifndef TEST_TEST_UTILS_H @@ -322,7 +322,7 @@ puglPrintTestUsage(const char* prog, const char* posHelp) " -E Use OpenGL ES\n" " -G OpenGL context version\n" " -a Enable anti-aliasing\n" - " -c Continuously animate and draw\n" + " -b Block and only update on user input\n" " -d Directly draw to window (no double-buffering)\n" " -e Enable platform error-checking\n" " -f Fast drawing, explicitly disable vertical sync\n" @@ -345,7 +345,7 @@ puglParseTestOptions(int* pargc, char*** pargv) PUGL_OPENGL_API, 3, 3, - false, + true, false, false, false, @@ -372,8 +372,8 @@ puglParseTestOptions(int* pargc, char*** pargv) } } else if (!strcmp(argv[i], "-a")) { opts.samples = 4; - } else if (!strcmp(argv[i], "-c")) { - opts.continuous = true; + } else if (!strcmp(argv[i], "-b")) { + opts.continuous = false; } else if (!strcmp(argv[i], "-d")) { opts.doubleBuffer = PUGL_FALSE; } else if (!strcmp(argv[i], "-e")) { -- cgit v1.2.1