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:
@ -214,15 +214,6 @@ st_scroll_view_fade_set_actor (ClutterActorMeta *meta,
|
||||
|
||||
g_return_if_fail (actor == NULL || ST_IS_SCROLL_VIEW (actor));
|
||||
|
||||
if (!clutter_feature_available (CLUTTER_FEATURE_SHADERS_GLSL))
|
||||
{
|
||||
/* if we don't have support for GLSL shaders then we
|
||||
* forcibly disable the ActorMeta
|
||||
*/
|
||||
clutter_actor_meta_set_enabled (meta, FALSE);
|
||||
return;
|
||||
}
|
||||
|
||||
if (self->vadjustment)
|
||||
{
|
||||
g_signal_handlers_disconnect_by_func (self->vadjustment,
|
||||
|
Reference in New Issue
Block a user