cogl: Remove cogl_material_set_layer_point_sprite_coords_enabled

This function is deprecated and must be replaced to the alternative.

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2058>
This commit is contained in:
Fernando Monteiro
2021-09-17 08:45:09 +01:00
committed by Marge Bot
parent 8285091585
commit 29c62fabac
3 changed files with 1 additions and 40 deletions

View File

@ -232,7 +232,7 @@ test_cogl_point_sprites_main (int argc, char *argv[])
cogl_material_set_layer (data.material, 0, tex);
cogl_object_unref (tex);
if (!cogl_material_set_layer_point_sprite_coords_enabled (data.material,
if (!cogl_pipeline_set_layer_point_sprite_coords_enabled (data.material,
0, TRUE,
&error))
{