aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_window_demo.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-08 20:13:08 -0500
committerDavid Robillard <d@drobilla.net>2023-01-08 22:32:09 -0500
commitb2b917da14cbab770905232c8cf5680fa79cea8e (patch)
tree389a6ea726f8a2fa8c6df22808a183b121608c3b /examples/pugl_window_demo.c
parenta45fb20347d4474a2e3cacc8da3c2d3a465a3aed (diff)
downloadpugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.gz
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.tar.bz2
pugl-b2b917da14cbab770905232c8cf5680fa79cea8e.zip
Prepare OpenGL context flags for OpenGL ES support
Diffstat (limited to 'examples/pugl_window_demo.c')
-rw-r--r--examples/pugl_window_demo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pugl_window_demo.c b/examples/pugl_window_demo.c
index 4596b61..c672780 100644
--- a/examples/pugl_window_demo.c
+++ b/examples/pugl_window_demo.c
@@ -195,7 +195,7 @@ main(int argc, char** argv)
puglSetSizeHint(view, PUGL_MAX_SIZE, 2048, 2048);
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);