Commit ffbd8232 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Default to QtAngle for Windows

parent 523ed16e
......@@ -120,8 +120,8 @@
</entry>
<entry name="opengl_backend" type="Int">
<label>Default OpenGL backend.</label>
<default>0</default>
<label>Default OpenGL backend (Qt::AAUseOpenGLES).</label>
<default>16</default>
</entry>
</group>
......
......@@ -86,6 +86,9 @@ int main(int argc, char *argv[])
if (glMode > 0) {
QCoreApplication::setAttribute((Qt::ApplicationAttribute)glMode, true);
}
} else {
// Default to OpenGLES (QtAngle) on first start
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true);
}
#endif
QApplication app(argc, argv);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment