Commit 7077563a authored by Ghislain MARY's avatar Ghislain MARY

Do not use desktop OpenGL on Windows.

parent b93af381
......@@ -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);
{
......
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