Merge remote branch 'origin/master' into pipe-video
[mesa.git] / src / gallium / auxiliary / util / u_draw_quad.h
index 00d3f5b715872dfe5456bea92977428ffacece05..52994fe05c3ec4e224cd3b21f5f9e0b51c5253aa 100644 (file)
 #define U_DRAWQUAD_H
 
 
+#include "pipe/p_compiler.h"
+#include "pipe/p_context.h"
+
+
 #ifdef __cplusplus
 extern "C" {
 #endif
 
-struct pipe_buffer;
+struct pipe_resource;
+
+#include "util/u_draw.h"
 
 extern void 
 util_draw_vertex_buffer(struct pipe_context *pipe,
-                        struct pipe_buffer *vbuf, uint offset,
+                        struct pipe_resource *vbuf, uint offset,
                         uint num_attribs, uint num_verts, uint prim_type);