Skip to content

Commit 893ee44

Browse files
committed
main: use egl rather than desktop egl
Needed for the Windows build to work.
1 parent 85c77fb commit 893ee44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int main(int argc, char *argv[])
1818
// When (un)docking windows, some widgets may get transformed into native
1919
// widgets, causing painting glitches. Tell Qt that we prefer non-native.
2020
QCoreApplication::setAttribute(Qt::AA_DontCreateNativeWidgetSiblings);
21-
21+
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);
2222
QCoreApplication::setOrganizationDomain("cmdrkotori.mpc-qt");
2323
QApplication a(argc, argv);
2424
a.setWindowIcon(QIcon(":/images/bitmaps/icon.png"));

0 commit comments

Comments
 (0)