if (buf) {
util_draw_vertex_buffer(r->pipe, buf, 0,
- PIPE_PRIM_TRIANGLE_FAN,
+ PIPE_PRIM_QUADS,
4, /* verts */
2); /* attribs/vert */
if (buf) {
util_draw_vertex_buffer(pipe, buf, 0,
- PIPE_PRIM_TRIANGLE_FAN,
+ PIPE_PRIM_QUADS,
4, /* verts */
2); /* attribs/vert */
num_attribs += num_textures;
util_draw_vertex_buffer(pipe, buf, 0,
- PIPE_PRIM_TRIANGLE_FAN,
+ PIPE_PRIM_QUADS,
4, /* verts */
num_attribs); /* attribs/vert */
const int num_attribs = 2; /*pos + tex coord*/
util_draw_vertex_buffer(pipe, buf, 0,
- PIPE_PRIM_TRIANGLE_FAN,
+ PIPE_PRIM_QUADS,
4, /* verts */
num_attribs); /* attribs/vert */