aboutsummaryrefslogtreecommitdiffstats
path: root/examples/pugl_cursor_demo.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pugl_cursor_demo.c')
-rw-r--r--examples/pugl_cursor_demo.c2
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);