Skip to content

Commit

Permalink
force OpenGL via Angle and using warp direct3d software rasterizer
Browse files Browse the repository at this point in the history
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
  • Loading branch information
mgallien committed May 20, 2022
1 parent cb8cc2a commit 205d9b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/gui/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ void warnSystray()
int main(int argc, char **argv)
{
#ifdef Q_OS_WIN
qputenv("QT_OPENGL", "angle");
qputenv("QT_ANGLE_PLATFORM", "warp");

SetDllDirectory(L"");
#endif
Q_INIT_RESOURCE(resources);
Expand Down

0 comments on commit 205d9b3

Please sign in to comment.