Do not use desktop OpenGL on Windows.

This commit is contained in:
Ghislain MARY 2017-03-22 16:01:01 +01:00
parent b93af38116
commit 7077563adc

View file

@ -34,7 +34,11 @@ int main (int argc, char *argv[]) {
qputenv("QML_DISABLE_DISK_CACHE", "true");
// Options to get a nice video render.
#ifdef _WIN32
QCoreApplication::setAttribute(Qt::AA_UseOpenGLES, true);
#else
QCoreApplication::setAttribute(Qt::AA_UseDesktopOpenGL, true);
#endif
QCoreApplication::setAttribute(Qt::AA_ShareOpenGLContexts, true);
{