summaryrefslogtreecommitdiff
path: root/cogl/cogl-buffer.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2010-10-26 16:05:00 +0100
committerRobert Bragg <robert@linux.intel.com>2010-10-26 17:25:27 +0100
commit6fe6dd18ac06eee4c8129cdea618fe7036a8cbc2 (patch)
treeb981a9aac659d4cf8cce9092aaf5bd507ad1fc34 /cogl/cogl-buffer.c
parent525504f9bf82eac89a0950c134544aa7ef034d64 (diff)
downloadcogl-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.c2
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);