diff options
author | Brian <[email protected]> | 2008-03-13 17:06:13 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-13 17:06:13 -0600 |
commit | 5bae5871f03c96eb173cb55d7e8a846a2c4bd4a0 (patch) | |
tree | 31fa2c57578c80a02ded778322872b9fd2aece81 /src/mesa | |
parent | ce49c4c24bf72ea642015d566ff687d512574fd5 (diff) |
gallium: for TEST_DRAW_PASSTHROUGH, pass inClipCoords=FALSE to st_draw_vertices()
When pass-through mode is fully supported we'll clean this up more.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/state_tracker/st_cb_clear.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_clear.c b/src/mesa/state_tracker/st_cb_clear.c index 4fe6195a070..58650714398 100644 --- a/src/mesa/state_tracker/st_cb_clear.c +++ b/src/mesa/state_tracker/st_cb_clear.c @@ -259,7 +259,13 @@ draw_quad(GLcontext *ctx, verts[i][1][3] = color[3]; } - st_draw_vertices(ctx, PIPE_PRIM_QUADS, 4, (float *) verts, 2, GL_FALSE); + st_draw_vertices(ctx, PIPE_PRIM_POLYGON, 4, (float *) verts, 2, +#if TEST_DRAW_PASSTHROUGH + GL_TRUE +#else + GL_FALSE +#endif + ); } |