From 7bd25ee36a4b78a5013ff99c0e3e986dff156282 Mon Sep 17 00:00:00 2001 From: Simran Brucherseifer Date: Wed, 22 Apr 2020 11:28:47 +0200 Subject: [PATCH] Revert "opengl: use compatibility profile" This reverts commit baa8df38f6cc6fcd73b8566e496e482083da17e5. --- app/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/main.cpp b/app/main.cpp index 020f594e0..e472c79d7 100644 --- a/app/main.cpp +++ b/app/main.cpp @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) { QSurfaceFormat format; format.setVersion(3, 2); format.setDepthBufferSize(24); - format.setProfile(QSurfaceFormat::CompatibilityProfile); + format.setProfile(QSurfaceFormat::CoreProfile); QSurfaceFormat::setDefaultFormat(format); // Try to share OpenGL contexts