aboutsummaryrefslogtreecommitdiffstats
path: root/gui/application.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gui/application.cc')
-rw-r--r--gui/application.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui/application.cc b/gui/application.cc
index aece5d2a..7751e6f1 100644
--- a/gui/application.cc
+++ b/gui/application.cc
@@ -41,6 +41,7 @@ Application::Application(int &argc, char **argv) : QApplication(argc, argv)
{
QSurfaceFormat fmt;
fmt.setSamples(10);
+ fmt.setProfile(QSurfaceFormat::CoreProfile);
QSurfaceFormat::setDefaultFormat(fmt);
#ifdef _WIN32
SetConsoleCtrlHandler((PHANDLER_ROUTINE)WinHandler, TRUE);