summaryrefslogtreecommitdiff
path: root/cogl/driver/gles/cogl.c
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2010-02-23 14:45:44 +0000
committerNeil Roberts <neil@linux.intel.com>2010-02-26 10:56:35 +0000
commit82fd07c54af5f6641fbf5e0952c930ec32ef70c6 (patch)
tree3754c3cbf71e95646504e60addc790ee18d33c83 /cogl/driver/gles/cogl.c
parentb583083a3fc4ec5368ee662b9338c8f32a59daaf (diff)
downloadcogl-82fd07c54af5f6641fbf5e0952c930ec32ef70c6.tar.gz
cogl-vertex-buffer: Add support for unsigned int indices
This adds a COGL_INDICES_TYPE_UNSIGNED_INT enum value so that unsigned ints can be used with cogl_vertex_buffer_indices_new. Unsigned ints are not supported in core on GLES so a feature flag has also been added to advertise this. GLES only sets the feature if the GL_OES_element_index_uint extension is available. It is an error to call indices_new() with unsigned ints unless the feature is advertised. http://bugzilla.openedhand.com/show_bug.cgi?id=1998
Diffstat (limited to 'cogl/driver/gles/cogl.c')
0 files changed, 0 insertions, 0 deletions