diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-09-25 16:56:35 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-09-25 16:56:35 -0600 |
commit | 0dfa5506a318b202ac955a59cc7c9b22b5ff3867 (patch) | |
tree | 81e5dd315975a4d1356b5293aba50d8d1875c295 /src/mesa/state_tracker/st_cb_clear.c | |
parent | ccff14de0d6291aa0866ce5d207af416caec69e7 (diff) |
st_draw_vertices() no longer needs attribs[] array parameter
Diffstat (limited to 'src/mesa/state_tracker/st_cb_clear.c')
-rw-r--r-- | src/mesa/state_tracker/st_cb_clear.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index 367ae06cf3..3a70d2f121 100644 --- a/src/mesa/state_tracker/st_cb_clear.c +++ b/src/mesa/state_tracker/st_cb_clear.c @@ -223,10 +223,6 @@ draw_quad(GLcontext *ctx, float x0, float y0, float x1, float y1, GLfloat z, const GLfloat color[4]) { - static const GLuint attribs[2] = { - 0, /* pos */ - 3 /* color */ - }; GLfloat verts[4][2][4]; /* four verts, two attribs, XYZW */ GLuint i; @@ -253,7 +249,7 @@ draw_quad(GLcontext *ctx, verts[i][1][3] = color[3]; } - st_draw_vertices(ctx, PIPE_PRIM_QUADS, 4, (float *) verts, 2, attribs); + st_draw_vertices(ctx, PIPE_PRIM_QUADS, 4, (float *) verts, 2); } |