diff options
author | David Robillard <d@drobilla.net> | 2023-01-08 20:13:08 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-01-08 22:32:09 -0500 |
commit | b2b917da14cbab770905232c8cf5680fa79cea8e (patch) | |
tree | 389a6ea726f8a2fa8c6df22808a183b121608c3b /examples/pugl_clipboard_demo.c | |
parent | a45fb20347d4474a2e3cacc8da3c2d3a465a3aed (diff) | |
download | pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.gz pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.bz2 pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.zip |
Prepare OpenGL context flags for OpenGL ES support
Diffstat (limited to 'examples/pugl_clipboard_demo.c')
-rw-r--r-- | examples/pugl_clipboard_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_clipboard_demo.c b/examples/pugl_clipboard_demo.c index ddb29e0..31bc7f6 100644 --- a/examples/pugl_clipboard_demo.c +++ b/examples/pugl_clipboard_demo.c @@ -224,7 +224,7 @@ main(int argc, char** argv) puglSetSizeHint(view, PUGL_MIN_SIZE, 128, 128); puglSetBackend(view, puglGlBackend()); - puglSetViewHint(view, PUGL_USE_DEBUG_CONTEXT, opts.errorChecking); + puglSetViewHint(view, PUGL_CONTEXT_DEBUG, opts.errorChecking); puglSetViewHint(view, PUGL_RESIZABLE, opts.resizable); puglSetViewHint(view, PUGL_SAMPLES, opts.samples); puglSetViewHint(view, PUGL_DOUBLE_BUFFER, opts.doubleBuffer); |