Squashed commit of the following:
[mesa.git] / src / gallium / auxiliary / util / u_draw_quad.h
index a97f55d2efdfdf80c86e47faaa70a75869f51757..42eb1844289b6b87d5b4eb3646136c2dcbaa0fae 100644 (file)
 #define U_DRAWQUAD_H
 
 
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+struct pipe_resource;
+
+extern void 
+util_draw_vertex_buffer(struct pipe_context *pipe,
+                        struct pipe_resource *vbuf, uint offset,
+                        uint num_attribs, uint num_verts, uint prim_type);
+
+
 extern void 
 util_draw_texquad(struct pipe_context *pipe,
                   float x0, float y0, float x1, float y1, float z);
 
 
+#ifdef __cplusplus
+}
+#endif
+
+
 #endif