mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Rename CoglVertexArray to CoglAttributeBuffer
This is part of a broader cleanup of some of the experimental Cogl API. One of the reasons for this particular rename is to switch away from using the term "Array" which implies a regular, indexable layout which isn't the case. We also want to have a strongly implied relationship between CoglAttributes and CoglAttributeBuffers.
This commit is contained in:
@ -128,7 +128,7 @@ convert_bind_target_to_gl_target (CoglBufferBindTarget target)
|
||||
return GL_PIXEL_PACK_BUFFER;
|
||||
case COGL_BUFFER_BIND_TARGET_PIXEL_UNPACK:
|
||||
return GL_PIXEL_UNPACK_BUFFER;
|
||||
case COGL_BUFFER_BIND_TARGET_VERTEX_ARRAY:
|
||||
case COGL_BUFFER_BIND_TARGET_ATTRIBUTE_BUFFER:
|
||||
return GL_ARRAY_BUFFER;
|
||||
case COGL_BUFFER_BIND_TARGET_INDEX_ARRAY:
|
||||
return GL_ELEMENT_ARRAY_BUFFER;
|
||||
|
Reference in New Issue
Block a user