projects
/
nextcloud-desktop.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0092ad1
)
let Qt use OpenGLES instead of desktop OpenGL to workaround bugs
author
Matthieu Gallien
<matthieu.gallien@nextcloud.com>
Thu, 1 Sep 2022 11:53:27 +0000
(13:53 +0200)
committer
Matthieu Gallien
<matthieu_gallien@yahoo.fr>
Sun, 4 Sep 2022 20:20:38 +0000
(22:20 +0200)
should help picking a working rendering pipeline on windows
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
src/gui/main.cpp
patch
|
blob
|
history
diff --git
a/src/gui/main.cpp
b/src/gui/main.cpp
index 90f6631c5922dce8e2521a511a9d1000b3a5ac15..7b457366a9823d9bd410a7835c41229760165b89 100644
(file)
--- a/
src/gui/main.cpp
+++ b/
src/gui/main.cpp
@@
-59,6
+59,7
@@
void warnSystray()
int main(int argc, char **argv)
{
qputenv("QTWEBENGINE_CHROMIUM_FLAGS", "--disable-gpu --no-sandbox");
+ QCoreApplication::setAttribute(Qt::AA_UseOpenGLES);
#ifdef Q_OS_WIN
SetDllDirectory(L"");