diff options
author | Dave Airlie <[email protected]> | 2010-09-02 09:45:37 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-09-02 09:51:25 +1000 |
commit | 557a71c50631a232528f654fa8b8e4add0e565d2 (patch) | |
tree | da250417219e955395fcdcb23ce8c70b5fe47d1d | |
parent | ffcb443cd7be563071725885b87085bd5701d980 (diff) |
mesa/st: remove check for buffer/elements = 0
shown by the glsl-vs-point-size failing on r600g.
the test passes on softpipe and I get a full piglit test run completing on r600g.
-rw-r--r-- | src/mesa/state_tracker/st_draw.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/state_tracker/st_draw.c b/src/mesa/state_tracker/st_draw.c index 5b054892702..318e08886c7 100644 --- a/src/mesa/state_tracker/st_draw.c +++ b/src/mesa/state_tracker/st_draw.c @@ -691,9 +691,6 @@ st_draw_vbo(GLcontext *ctx, pipe->set_vertex_buffers(pipe, num_vbuffers, vbuffer); cso_set_vertex_elements(st->cso_context, num_velements, velements); - if (num_vbuffers == 0 || num_velements == 0) - return; - setup_index_buffer(ctx, ib, &ibuffer); pipe->set_index_buffer(pipe, &ibuffer); |