From e9ae30eaa96df7deed014bba00bf999d8b43aa8d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 18 Nov 2019 13:25:38 +0100 Subject: Add error checking option to test programs --- test/pugl_gl3_test.c | 1 + 1 file changed, 1 insertion(+) (limited to 'test/pugl_gl3_test.c') diff --git a/test/pugl_gl3_test.c b/test/pugl_gl3_test.c index 170f969..06e816c 100644 --- a/test/pugl_gl3_test.c +++ b/test/pugl_gl3_test.c @@ -302,6 +302,7 @@ main(int argc, char** argv) puglSetAspectRatio(app.view, 1, 1, 16, 9); puglSetBackend(app.view, puglGlBackend()); puglSetViewHint(app.view, PUGL_USE_COMPAT_PROFILE, PUGL_FALSE); + puglSetViewHint(app.view, PUGL_USE_DEBUG_CONTEXT, app.opts.errorChecking); puglSetViewHint(app.view, PUGL_CONTEXT_VERSION_MAJOR, 3); puglSetViewHint(app.view, PUGL_CONTEXT_VERSION_MINOR, 3); puglSetViewHint(app.view, PUGL_RESIZABLE, app.opts.resizable); -- cgit v1.2.1