Commit b5cb7448 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Make it possible to override the Angle Renderer

This is so I can experiment with the warp rasterizer.

CCBUG:408872
parent 608ba308
/*
gfa/*
* Copyright (c) 1999 Matthias Elter <me@kde.org>
* Copyright (c) 2002 Patrick Julien <freak@codepimps.org>
* Copyright (c) 2015 Boudewijn Rempt <boud@valdyas.org>
......@@ -223,7 +223,9 @@ extern "C" int main(int argc, char **argv)
// might get weird crashes atm.
const QString preferredRendererString = kritarc.value("OpenGLRenderer", "angle").toString();
preferredRenderer = KisOpenGL::convertConfigToOpenGLRenderer(preferredRendererString);
qputenv("QT_ANGLE_PLATFORM", "d3d11");
if (qgetenv("QT_ANGLE_PLATFORM").isEmpty() {
qputenv("QT_ANGLE_PLATFORM", "d3d11");
}
#else
const QString preferredRendererString = kritarc.value("OpenGLRenderer", "auto").toString();
preferredRenderer = KisOpenGL::convertConfigToOpenGLRenderer(preferredRendererString);
......
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