summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_cb_drawpixels.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-08-15 19:13:03 -0600
committerBrian <[email protected]>2007-08-15 19:13:03 -0600
commit94a4910c9a1ef48470f45c01c379254cb033119f (patch)
treec79e4ba0887a204d7efd7862e51c4a2aa9726630 /src/mesa/state_tracker/st_cb_drawpixels.c
parentd9a230f30a98eb677bba869a6f7bb9a840e36354 (diff)
added PIPE_PRIM_x tokens (matching GL), use in a few places
Diffstat (limited to 'src/mesa/state_tracker/st_cb_drawpixels.c')
-rw-r--r--src/mesa/state_tracker/st_cb_drawpixels.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c
index df0b14463b6..dd27760a58b 100644
--- a/src/mesa/state_tracker/st_cb_drawpixels.c
+++ b/src/mesa/state_tracker/st_cb_drawpixels.c
@@ -235,7 +235,7 @@ draw_quad(struct st_context *st, GLfloat x0, GLfloat y0, GLfloat z,
verts[i][1][3] = 1.0; /*Q*/
}
- st->pipe->draw_vertices(st->pipe, GL_QUADS,
+ st->pipe->draw_vertices(st->pipe, PIPE_PRIM_QUADS,
4, (GLfloat *) verts, 2, attribs);
}