From 6ca124d3787a901129252a2e26c091da1c1ff455 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 3 Oct 2020 19:38:52 +0200 Subject: Set defaults to 32-bit RGBA with no depth or stencil buffer --- pugl/detail/implementation.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'pugl/detail') diff --git a/pugl/detail/implementation.c b/pugl/detail/implementation.c index dbb0c5f..5534662 100644 --- a/pugl/detail/implementation.c +++ b/pugl/detail/implementation.c @@ -106,12 +106,12 @@ puglSetDefaultHints(PuglHints hints) hints[PUGL_USE_COMPAT_PROFILE] = PUGL_TRUE; hints[PUGL_CONTEXT_VERSION_MAJOR] = 2; hints[PUGL_CONTEXT_VERSION_MINOR] = 0; - hints[PUGL_RED_BITS] = 4; - hints[PUGL_GREEN_BITS] = 4; - hints[PUGL_BLUE_BITS] = 4; - hints[PUGL_ALPHA_BITS] = 4; - hints[PUGL_DEPTH_BITS] = 24; - hints[PUGL_STENCIL_BITS] = 8; + hints[PUGL_RED_BITS] = 8; + hints[PUGL_GREEN_BITS] = 8; + hints[PUGL_BLUE_BITS] = 8; + hints[PUGL_ALPHA_BITS] = 8; + hints[PUGL_DEPTH_BITS] = 0; + hints[PUGL_STENCIL_BITS] = 0; hints[PUGL_SAMPLES] = 0; hints[PUGL_DOUBLE_BUFFER] = PUGL_TRUE; hints[PUGL_SWAP_INTERVAL] = PUGL_DONT_CARE; -- cgit v1.2.1