diff options
author | David Robillard <d@drobilla.net> | 2020-10-03 19:38:52 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-03 19:38:52 +0200 |
commit | 6ca124d3787a901129252a2e26c091da1c1ff455 (patch) | |
tree | 6e4a2491901e9b187b8545474bb41dcce557fefa | |
parent | 72f019e7071b4bbb09b71598d7f9f514bf50792e (diff) | |
download | pugl-6ca124d3787a901129252a2e26c091da1c1ff455.tar.gz pugl-6ca124d3787a901129252a2e26c091da1c1ff455.tar.bz2 pugl-6ca124d3787a901129252a2e26c091da1c1ff455.zip |
Set defaults to 32-bit RGBA with no depth or stencil buffer
-rw-r--r-- | pugl/detail/implementation.c | 12 |
1 files changed, 6 insertions, 6 deletions
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; |