summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_vbuf.h
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-03-17 10:10:45 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-03-17 10:10:45 +0000
commit9425a702bef7d3f601e9ddc2b801f00a3d52dbb8 (patch)
tree605095d5b4699b0b8c9ae66c8001f6e60ccd20aa /src/gallium/auxiliary/draw/draw_vbuf.h
parent49a687882a659bd03fd09ca7a7d592818914597a (diff)
gallium: improvements, or extensions at least, to the passthrough path
Passthrough is actually more tricky than you'd think...
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_vbuf.h')
-rw-r--r--src/gallium/auxiliary/draw/draw_vbuf.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vbuf.h b/src/gallium/auxiliary/draw/draw_vbuf.h
index 5e7de905c1..e90f37872a 100644
--- a/src/gallium/auxiliary/draw/draw_vbuf.h
+++ b/src/gallium/auxiliary/draw/draw_vbuf.h
@@ -74,9 +74,11 @@ struct vbuf_render {
/**
* Notify the renderer of the current primitive when it changes.
- * Prim is restricted to TRIANGLES, LINES and POINTS.
+ * Must succeed for TRIANGLES, LINES and POINTS. Other prims at
+ * the discretion of the driver, for the benefit of the passthrough
+ * path.
*/
- void (*set_primitive)( struct vbuf_render *, unsigned prim );
+ boolean (*set_primitive)( struct vbuf_render *, unsigned prim );
/**
* DrawElements, note indices are ushort: