mirror of
https://github.com/brl/mutter.git
synced 2024-11-26 18:11:05 -05:00
[cogl] Expose cogl_is_vertex_buffer()
The function is public and available in the shared object, but it's not present in the header, so this is not an API/ABI change.
This commit is contained in:
parent
c9f57452e6
commit
f8a964b422
@ -433,6 +433,20 @@ cogl_vertex_buffer_unref (CoglHandle handle);
|
|||||||
CoglHandle
|
CoglHandle
|
||||||
cogl_vertex_buffer_indices_get_for_quads (guint n_indices);
|
cogl_vertex_buffer_indices_get_for_quads (guint n_indices);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* cogl_is_vertex_buffer:
|
||||||
|
* @handle: a #CoglHandle for a vertex buffer object
|
||||||
|
*
|
||||||
|
* Checks whether @handle is a Vertex Buffer Object
|
||||||
|
*
|
||||||
|
* Return value: %TRUE if the handle is a VBO, and %FALSE
|
||||||
|
* otherwise
|
||||||
|
*
|
||||||
|
* Since: 1.0
|
||||||
|
*/
|
||||||
|
gboolean
|
||||||
|
cogl_is_vertex_buffer (CoglHandle);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __COGL_VERTEX_BUFFER_H__ */
|
#endif /* __COGL_VERTEX_BUFFER_H__ */
|
||||||
|
@ -369,6 +369,7 @@ cogl_vertex_buffer_submit
|
|||||||
cogl_vertex_buffer_disable
|
cogl_vertex_buffer_disable
|
||||||
cogl_vertex_buffer_enable
|
cogl_vertex_buffer_enable
|
||||||
cogl_vertex_buffer_draw
|
cogl_vertex_buffer_draw
|
||||||
|
cogl_is_vertex_buffer
|
||||||
|
|
||||||
<SUBSECTION>
|
<SUBSECTION>
|
||||||
CoglIndicesType
|
CoglIndicesType
|
||||||
|
Loading…
Reference in New Issue
Block a user