cogl: Move has_feature to Context namespace

That is where it belongs anyways..

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3895>
This commit is contained in:
Bilal Elmoussaoui
2024-07-22 10:58:51 +02:00
parent 21bc7432dc
commit 6da869d575
23 changed files with 53 additions and 51 deletions

View File

@ -34,7 +34,7 @@ test_map_buffer_range (void)
CoglAttribute *tex_coord_attribute;
CoglPrimitive *primitive;
if (!cogl_has_feature (test_ctx, COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE))
if (!cogl_context_has_feature (test_ctx, COGL_FEATURE_ID_MAP_BUFFER_FOR_WRITE))
{
g_test_skip ("Missing map buffer for write capability");
return;