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_cursor_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_cursor_demo.c')
-rw-r--r-- | examples/pugl_cursor_demo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_cursor_demo.c b/examples/pugl_cursor_demo.c index 50bf0da..c4a4e8d 100644 --- a/examples/pugl_cursor_demo.c +++ b/examples/pugl_cursor_demo.c @@ -129,7 +129,7 @@ main(int argc, char** argv) puglSetSizeHint(view, PUGL_MAX_SIZE, 512, 256); puglSetBackend(view, puglGlBackend()); - puglSetViewHint(view, PUGL_USE_DEBUG_CONTEXT, app.opts.errorChecking); + puglSetViewHint(view, PUGL_CONTEXT_DEBUG, app.opts.errorChecking); puglSetViewHint(view, PUGL_RESIZABLE, app.opts.resizable); puglSetViewHint(view, PUGL_SAMPLES, app.opts.samples); puglSetViewHint(view, PUGL_DOUBLE_BUFFER, app.opts.doubleBuffer); |