aboutsummaryrefslogtreecommitdiffstats
path: root/bindings
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 12:54:56 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 22:31:51 -0500
commitf1524acbd3e708d1764b7f1533d707b22254ae95 (patch)
tree83a0a08ca2a7360abaca32e2717090e07b21f0aa /bindings
parent1e8431373a494c27c74e34bfa7ab0247e3c29677 (diff)
downloadpugl-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 'bindings')
-rw-r--r--bindings/cpp/include/pugl/pugl.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bindings/cpp/include/pugl/pugl.hpp b/bindings/cpp/include/pugl/pugl.hpp
index 5f939d5..4fe7244 100644
--- a/bindings/cpp/include/pugl/pugl.hpp
+++ b/bindings/cpp/include/pugl/pugl.hpp
@@ -352,6 +352,7 @@ enum class ViewHint {
alphaBits, ///< @copydoc PUGL_ALPHA_BITS
depthBits, ///< @copydoc PUGL_DEPTH_BITS
stencilBits, ///< @copydoc PUGL_STENCIL_BITS
+ sampleBuffers, ///< @copydoc PUGL_SAMPLE_BUFFERS
samples, ///< @copydoc PUGL_SAMPLES
doubleBuffer, ///< @copydoc PUGL_DOUBLE_BUFFER
swapInterval, ///< @copydoc PUGL_SWAP_INTERVAL