mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-21 13:48:08 +00:00
Do not use desktop OpenGL on Windows.
This commit is contained in:
parent
b93af38116
commit
7077563adc
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue