diff options
author | Brian <[email protected]> | 2007-08-02 12:12:48 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-02 12:12:48 -0600 |
commit | 55314f8f311bff065f609ff17c8421a8d5216b84 (patch) | |
tree | 11bd3fddbf45c47edc65db370827f9281c93b62d /src/mesa/pipe/draw/draw_context.h | |
parent | 0e067f1fb20094417e84e1b18f2302251cece2ca (diff) |
Implement new draw_vertices() path for simple vertex array drawing, use it for glClear.
Diffstat (limited to 'src/mesa/pipe/draw/draw_context.h')
-rw-r--r-- | src/mesa/pipe/draw/draw_context.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_context.h b/src/mesa/pipe/draw/draw_context.h index c298d4f46d2..be0a18d6d72 100644 --- a/src/mesa/pipe/draw/draw_context.h +++ b/src/mesa/pipe/draw/draw_context.h @@ -70,5 +70,10 @@ void draw_set_vertex_attributes( struct draw_context *draw, void draw_vb(struct draw_context *draw, struct vertex_buffer *VB ); +void draw_vertices(struct draw_context *draw, + GLuint mode, + GLuint numVertex, const GLfloat *verts, + GLuint numAttribs, const GLuint attribs[]); + #endif /* DRAW_CONTEXT_H */ |