diff options
author | David Robillard <d@drobilla.net> | 2023-01-08 12:54:56 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-08 22:31:51 -0500 |
commit | f1524acbd3e708d1764b7f1533d707b22254ae95 (patch) | |
tree | 83a0a08ca2a7360abaca32e2717090e07b21f0aa /include | |
parent | 1e8431373a494c27c74e34bfa7ab0247e3c29677 (diff) | |
download | pugl-f1524acbd3e708d1764b7f1533d707b22254ae95.tar.gz pugl-f1524acbd3e708d1764b7f1533d707b22254ae95.tar.bz2 pugl-f1524acbd3e708d1764b7f1533d707b22254ae95.zip |
Add PUGL_SAMPLE_BUFFERS hint
Towards a more direct and explicit mapping to platform hints, and more
consistent behaviour across platforms. OpenGL applications are generally
expected to be explicit about hints like this.
Diffstat (limited to 'include')
-rw-r--r-- | include/pugl/pugl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/pugl/pugl.h b/include/pugl/pugl.h index 338aa4d..0e97f91 100644 --- a/include/pugl/pugl.h +++ b/include/pugl/pugl.h @@ -882,6 +882,7 @@ typedef enum { PUGL_ALPHA_BITS, ///< Number of bits for alpha channel PUGL_DEPTH_BITS, ///< Number of bits for depth buffer PUGL_STENCIL_BITS, ///< Number of bits for stencil buffer + PUGL_SAMPLE_BUFFERS, ///< Number of sample buffers (AA) 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 |