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:
parent
9a23ed98e7
commit
e4c8125c31
@ -501,6 +501,13 @@ cogl_context_get_named_pipeline (CoglContext *context,
|
|||||||
return g_hash_table_lookup (context->named_pipelines, key);
|
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
|
void
|
||||||
cogl_context_free_timestamp_query (CoglContext *context,
|
cogl_context_free_timestamp_query (CoglContext *context,
|
||||||
CoglTimestampQuery *query)
|
CoglTimestampQuery *query)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user