diff --git a/linphone-desktop/src/main.cpp b/linphone-desktop/src/main.cpp index af17dd09f..1e6623076 100644 --- a/linphone-desktop/src/main.cpp +++ b/linphone-desktop/src/main.cpp @@ -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); {