From f1524acbd3e708d1764b7f1533d707b22254ae95 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Jan 2023 12:54:56 -0500 Subject: 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. --- bindings/cpp/include/pugl/pugl.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'bindings/cpp/include/pugl/pugl.hpp') 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 -- cgit v1.2.1