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. --- src/common.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/common.c') diff --git a/src/common.c b/src/common.c index 9bb2d2e..90a75cf 100644 --- a/src/common.c +++ b/src/common.c @@ -101,6 +101,7 @@ puglSetDefaultHints(PuglHints hints) hints[PUGL_ALPHA_BITS] = 8; hints[PUGL_DEPTH_BITS] = 0; hints[PUGL_STENCIL_BITS] = 0; + hints[PUGL_SAMPLE_BUFFERS] = PUGL_DONT_CARE; hints[PUGL_SAMPLES] = 0; hints[PUGL_DOUBLE_BUFFER] = PUGL_TRUE; hints[PUGL_SWAP_INTERVAL] = PUGL_DONT_CARE; -- cgit v1.2.1