diff options
author | Zack Rusin <[email protected]> | 2008-04-11 19:58:22 -0400 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2008-04-14 11:00:35 +0100 |
commit | 808f968f3ad0cb32e86f517753d5715d00e9ec2c (patch) | |
tree | a75a2d4f267b8d36e668e8fd02de534ffa6e8ad6 /src/gallium/auxiliary/draw/draw_private.h | |
parent | aadbb1d7fbbaada6e378cb60194e5861cadf98d1 (diff) |
return true if one of the vertices has been clipped
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_private.h')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_private.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gallium/auxiliary/draw/draw_private.h b/src/gallium/auxiliary/draw/draw_private.h index f9aea9f3550..5c710667fc6 100644 --- a/src/gallium/auxiliary/draw/draw_private.h +++ b/src/gallium/auxiliary/draw/draw_private.h @@ -148,12 +148,12 @@ struct draw_vertex_shader { /* Run the shader - this interface will get cleaned up in the * future: */ - void (*run)( struct draw_vertex_shader *shader, - struct draw_context *draw, - const unsigned *elts, - unsigned count, - struct vertex_header *vOut[] ); - + boolean (*run)( struct draw_vertex_shader *shader, + struct draw_context *draw, + const unsigned *elts, + unsigned count, + struct vertex_header *vOut[] ); + void (*delete)( struct draw_vertex_shader * ); }; |