Revert "opengl: use compatibility profile"

This reverts commit baa8df38f6.
This commit is contained in:
Simran Brucherseifer
2020-04-22 11:28:47 +02:00
parent 5da9848de7
commit 7bd25ee36a
+1 -1
View File
@@ -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