aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2019-10-21 19:31:59 +0200
committerDavid Robillard <d@drobilla.net>2019-10-21 19:31:59 +0200
commit184cd0129016afb653e63fd9d4d7762b682fc758 (patch)
tree6bc4a9b6054d30817498bfb3d9f7614d60bebd45
parent1c715643fcbb3c83d51c56d99aa67f43934ca028 (diff)
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.
-rw-r--r--test/pugl_gl3_test.c2
1 files changed, 1 insertions, 1 deletions
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);