diff options
author | Robert Bragg <robert@linux.intel.com> | 2010-10-26 18:56:57 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2010-11-03 18:09:22 +0000 |
commit | afb8a64bc431ba9e6c6392a49faa311e4d5817da (patch) | |
tree | c20353d10f509523c5a29a74c0c077f1a0c7e0a0 /cogl/cogl-context.h | |
parent | c6761aa93b50fef7c22267c6065fe197e9173a94 (diff) | |
download | cogl-afb8a64bc431ba9e6c6392a49faa311e4d5817da.tar.gz |
vertex-buffer: use cogl_get_rectangle_indices
The functionality of cogl_vertex_buffer_indices_get_for_quads is now
provided by cogl_get_rectangle_indices so this reworks the former to now
work in terms of the latter so we don't have duplicated logic.
Diffstat (limited to 'cogl/cogl-context.h')
-rw-r--r-- | cogl/cogl-context.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/cogl/cogl-context.h b/cogl/cogl-context.h index c4173fb5..19c30cc8 100644 --- a/cogl/cogl-context.h +++ b/cogl/cogl-context.h @@ -145,12 +145,6 @@ typedef struct /* Pre-generated VBOs containing indices to generate GL_TRIANGLES out of a vertex array of quads */ - /* XXX: These should be removed when the vertex-buffer.c indices - * code is re-worked to use cogl_get_rectangle_indices. */ - CoglHandle quad_indices_byte; - unsigned int quad_indices_short_len; - CoglHandle quad_indices_short; - CoglHandle quad_buffer_indices_byte; unsigned int quad_buffer_indices_len; CoglHandle quad_buffer_indices; |