Always assume GLSL is supported
The support for GLSL has been advertised as unconditionally supported by mutter for a while, and has now lost the 'GLSL' feature completely. Lets remove the checks. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1985>
This commit is contained in:
@ -129,7 +129,7 @@ var Lightbox = GObject.registerClass({
|
||||
this._container = container;
|
||||
this._children = container.get_children();
|
||||
this._fadeFactor = params.fadeFactor;
|
||||
this._radialEffect = Clutter.feature_available(Clutter.FeatureFlags.SHADERS_GLSL) && params.radialEffect;
|
||||
this._radialEffect = params.radialEffect;
|
||||
|
||||
if (this._radialEffect)
|
||||
this.add_effect(new RadialShaderEffect({ name: 'radial' }));
|
||||
|
Reference in New Issue
Block a user