aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-08 18:51:00 +0100
committerDavid Robillard <d@drobilla.net>2020-03-08 18:51:00 +0100
commitc07291967daef9481457919a7434e0c8710d8eb0 (patch)
tree485e7d90818439cd2c2e4c5255633a8511cd29db /test
parent7f0169be0db0f16a91d859a54b22535f26fdcb38 (diff)
downloadpugl-c07291967daef9481457919a7434e0c8710d8eb0.tar.gz
pugl-c07291967daef9481457919a7434e0c8710d8eb0.tar.bz2
pugl-c07291967daef9481457919a7434e0c8710d8eb0.zip
Enable double buffering by default
Diffstat (limited to 'test')
-rw-r--r--test/test_utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test_utils.h b/test/test_utils.h
index b79c0b9..80d279b 100644
--- a/test/test_utils.h
+++ b/test/test_utils.h
@@ -164,7 +164,7 @@ puglPrintTestUsage(const char* prog, const char* posHelp)
printf("Usage: %s [OPTION]... %s\n\n"
" -a Enable anti-aliasing\n"
" -c Continuously animate and draw\n"
- " -d Enable double-buffering\n"
+ " -d Directly draw to window (no double-buffering)\n"
" -e Enable platform error-checking\n"
" -f Fast drawing, explicitly disable vertical sync\n"
" -h Display this help\n"
@@ -180,7 +180,7 @@ puglParseTestOptions(int* pargc, char*** pargv)
{
PuglTestOptions opts = {
0,
- 0,
+ PUGL_TRUE,
PUGL_DONT_CARE,
false,
false,
@@ -198,7 +198,7 @@ puglParseTestOptions(int* pargc, char*** pargv)
} else if (!strcmp(argv[i], "-c")) {
opts.continuous = true;
} else if (!strcmp(argv[i], "-d")) {
- opts.doubleBuffer = PUGL_TRUE;
+ opts.doubleBuffer = PUGL_FALSE;
} else if (!strcmp(argv[i], "-e")) {
opts.errorChecking = PUGL_TRUE;
} else if (!strcmp(argv[i], "-f")) {