From 184cd0129016afb653e63fd9d4d7762b682fc758 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 21 Oct 2019 19:31:59 +0200 Subject: Don't use compatible profile in pugl_gl3_test It turns out that there are some systems where having this on makes things not work, because compatible profiles are only supported up to earlier versions, despite a much higher version being available. --- test/pugl_gl3_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/pugl_gl3_test.c b/test/pugl_gl3_test.c index c939930..2bcc8ec 100644 --- a/test/pugl_gl3_test.c +++ b/test/pugl_gl3_test.c @@ -302,7 +302,7 @@ main(int argc, char** argv) puglSetMinSize(app.view, defaultWidth / 4, defaultHeight / 4); puglSetAspectRatio(app.view, 1, 1, 16, 9); puglSetBackend(app.view, puglGlBackend()); - puglSetViewHint(app.view, PUGL_USE_COMPAT_PROFILE, PUGL_TRUE); + puglSetViewHint(app.view, PUGL_USE_COMPAT_PROFILE, PUGL_FALSE); 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