Merge branch 'gallium-tex-surfaces' into gallium-0.1
[mesa.git] / src / gallium / auxiliary / draw / draw_vbuf.h
index 5e7de905c16c4f15a5528f7b6cb22b3e7aab3133..e90f37872a11cc61bcb44ca512129a342ebc2adf 100644 (file)
@@ -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: