aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-08-04 09:58:34 +0200
committerDavid Robillard <d@drobilla.net>2019-09-03 08:34:39 +0200
commitbb01cc1b9562b802ae778dfe082b0dac709e1b00 (patch)
tree00a23bc9648cf4a1db297998b31c837325ed2b04 /pugl/pugl.h
parent2a0287b0db5bdde4e8b9de91ddc560233e1ee343 (diff)
downloadpugl-bb01cc1b9562b802ae778dfe082b0dac709e1b00.tar.gz
pugl-bb01cc1b9562b802ae778dfe082b0dac709e1b00.tar.bz2
pugl-bb01cc1b9562b802ae778dfe082b0dac709e1b00.zip
Add swap interval hint
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r--pugl/pugl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl.h b/pugl/pugl.h
index 1bd49bb..3284a5c 100644
--- a/pugl/pugl.h
+++ b/pugl/pugl.h
@@ -110,6 +110,7 @@ typedef enum {
PUGL_STENCIL_BITS, /**< Number of bits for stencil buffer */
PUGL_SAMPLES, /**< Number of samples per pixel (AA) */
PUGL_DOUBLE_BUFFER, /**< True if double buffering should be used */
+ PUGL_SWAP_INTERVAL, /**< Number of frames between buffer swaps */
PUGL_RESIZABLE, /**< True if window should be resizable */
PUGL_IGNORE_KEY_REPEAT, /**< True if key repeat events are ignored */