From b2b917da14cbab770905232c8cf5680fa79cea8e Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 8 Jan 2023 20:13:08 -0500 Subject: Prepare OpenGL context flags for OpenGL ES support --- examples/pugl_window_demo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/pugl_window_demo.c') 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); -- cgit v1.2.1