set QSG_RENDER_LOOP as basic if not explicitly set
This commit is contained in:
parent
75cac7632b
commit
c09d63d192
1 changed files with 5 additions and 0 deletions
5
main.cpp
5
main.cpp
|
@ -413,6 +413,11 @@ KWIN_EXPORT int kdemain(int argc, char * argv[])
|
|||
mallopt(M_TRIM_THRESHOLD, 5*pagesize);
|
||||
#endif // M_TRIM_THRESHOLD
|
||||
|
||||
const QByteArray loopName = qgetenv("QSG_RENDER_LOOP");
|
||||
if (loopName.isEmpty()) {
|
||||
setenv("QSG_RENDER_LOOP", "basic", 1);
|
||||
}
|
||||
|
||||
KLocalizedString::setApplicationDomain("kwin");
|
||||
QLoggingCategory::setFilterRules(QStringLiteral("aurorae.debug = true\n") +
|
||||
QStringLiteral("kwineffects.debug = true"));
|
||||
|
|
Loading…
Reference in a new issue