diff options
author | Robert Bragg <robert@linux.intel.com> | 2010-10-26 16:05:00 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-10-26 17:25:27 +0100 |
commit | 6fe6dd18ac06eee4c8129cdea618fe7036a8cbc2 (patch) | |
tree | b981a9aac659d4cf8cce9092aaf5bd507ad1fc34 /cogl/cogl-buffer.c | |
parent | 525504f9bf82eac89a0950c134544aa7ef034d64 (diff) | |
download | cogl-6fe6dd18ac06eee4c8129cdea618fe7036a8cbc2.tar.gz |
buffer: BufferBindTarget + BufferUsageHint enum renaming
This renames the BufferBindTarget + BufferUsageHint enums to match the
anticipated new APIs for "index arrays" and "vertex arrays" as opposed
to using the terms "vertices" or "indices".
Diffstat (limited to 'cogl/cogl-buffer.c')
-rw-r--r-- | cogl/cogl-buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-buffer.c b/cogl/cogl-buffer.c index 2c2baedf..5ed466a1 100644 --- a/cogl/cogl-buffer.c +++ b/cogl/cogl-buffer.c @@ -123,7 +123,7 @@ convert_bind_target_to_gl_target (CoglBufferBindTarget target) return GL_PIXEL_UNPACK_BUFFER; case COGL_BUFFER_BIND_TARGET_VERTEX_ARRAY: return GL_ARRAY_BUFFER; - case COGL_BUFFER_BIND_TARGET_VERTEX_INDICES_ARRAY: + case COGL_BUFFER_BIND_TARGET_INDEX_ARRAY: return GL_ELEMENT_ARRAY_BUFFER; default: g_return_val_if_reached (COGL_BUFFER_BIND_TARGET_PIXEL_UNPACK); |