Commit fec8f587 authored by Boudewijn Rempt's avatar Boudewijn Rempt

windows build fix

parent 0bee6ede
...@@ -223,7 +223,8 @@ extern "C" int main(int argc, char **argv) ...@@ -223,7 +223,8 @@ extern "C" int main(int argc, char **argv)
// might get weird crashes atm. // might get weird crashes atm.
const QString preferredRendererString = kritarc.value("OpenGLRenderer", "angle").toString(); const QString preferredRendererString = kritarc.value("OpenGLRenderer", "angle").toString();
preferredRenderer = KisOpenGL::convertConfigToOpenGLRenderer(preferredRendererString); preferredRenderer = KisOpenGL::convertConfigToOpenGLRenderer(preferredRendererString);
if (qgetenv("QT_ANGLE_PLATFORM").isEmpty() { QString
if (qgetenv("QT_ANGLE_PLATFORM").isEmpty()) {
qputenv("QT_ANGLE_PLATFORM", "d3d11"); qputenv("QT_ANGLE_PLATFORM", "d3d11");
} }
#else #else
......
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