aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail
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 /pugl/detail
parent7f0169be0db0f16a91d859a54b22535f26fdcb38 (diff)
downloadpugl-c07291967daef9481457919a7434e0c8710d8eb0.tar.gz
pugl-c07291967daef9481457919a7434e0c8710d8eb0.tar.bz2
pugl-c07291967daef9481457919a7434e0c8710d8eb0.zip
Enable double buffering by default
Diffstat (limited to 'pugl/detail')
-rw-r--r--pugl/detail/implementation.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c
index 0eb02aa..e9e1ae9 100644
--- a/pugl/detail/implementation.c
+++ b/pugl/detail/implementation.c
@@ -82,7 +82,7 @@ puglSetDefaultHints(PuglHints hints)
hints[PUGL_DEPTH_BITS] = 24;
hints[PUGL_STENCIL_BITS] = 8;
hints[PUGL_SAMPLES] = 0;
- hints[PUGL_DOUBLE_BUFFER] = PUGL_FALSE;
+ hints[PUGL_DOUBLE_BUFFER] = PUGL_TRUE;
hints[PUGL_SWAP_INTERVAL] = PUGL_DONT_CARE;
hints[PUGL_RESIZABLE] = PUGL_FALSE;
hints[PUGL_IGNORE_KEY_REPEAT] = PUGL_FALSE;