1
0
Fork 0

cogl/context: Add transfer full annotation to destroy timestamp query

Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2362>
This commit is contained in:
Corentin Noël 2022-04-05 12:40:12 +02:00
parent 9a23ed98e7
commit e4c8125c31

View file

@ -501,6 +501,13 @@ cogl_context_get_named_pipeline (CoglContext *context,
return g_hash_table_lookup (context->named_pipelines, key);
}
/**
* cogl_context_free_timestamp_query:
* @context: a #CoglContext object
* @query: (transfer full): the #CoglTimestampQuery to free
*
* Free the #CoglTimestampQuery
*/
void
cogl_context_free_timestamp_query (CoglContext *context,
CoglTimestampQuery *query)