clutter: Remove duplicated ShaderType

As we have the exact same one in Cogl.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/4127>
This commit is contained in:
Bilal Elmoussaoui
2024-11-10 18:27:32 +01:00
committed by Marge Bot
parent 1ba28bc6b4
commit d92bb351da
7 changed files with 23 additions and 50 deletions

View File

@ -204,7 +204,7 @@ test_bind_constraint_main (int argc, char *argv[])
* properties; so we use the ActorMeta:enabled property to toggle
* the shader
*/
effect = clutter_shader_effect_new (CLUTTER_FRAGMENT_SHADER);
effect = clutter_shader_effect_new (COGL_SHADER_TYPE_FRAGMENT);
clutter_shader_effect_set_shader_source (CLUTTER_SHADER_EFFECT (effect),
desaturare_glsl_shader);
clutter_shader_effect_set_uniform (CLUTTER_SHADER_EFFECT (effect),