mirror of
https://github.com/brl/mutter.git
synced 2025-02-25 01:04:10 +00:00

The default value of the ClutterShaderEffect:shader-type property is CLUTTER_FRAGMENT_SHADER. However, because the struct field is not actually initialized to it, it ends up assuming the value 0, which is CLUTTER_VERTEX_SHADER. Properly initialize ClutterShaderEffect's shader_type to CLUTTER_FRAGMENT_SHADER. https://gitlab.gnome.org/GNOME/mutter/merge_requests/846