Enable layers acceleration by default on GTK platforms.

"Why is this still `blocked by default for platform`.. Everyone on Linux
forces it on anyway once they are aware of it." -- Tobin

Tag #1319
This commit is contained in:
wolfbeast 2019-12-20 17:59:59 +01:00 committed by Roy Tam
commit f24dcfdaa4

View file

@ -133,12 +133,7 @@ public:
}
bool AccelerateLayersByDefault() override {
#ifdef NIGHTLY_BUILD
// Only enable the GL compositor on Nightly for now until we have
// sufficient data for blocklisting.
return true;
#endif
return false;
}
#ifdef GL_PROVIDER_GLX