diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2008-04-03 09:39:00 +1000 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2008-04-04 11:17:28 +1000 |
commit | 0b57662fa6feb3d4571e4a3bc3a2243547595816 (patch) | |
tree | beda229e77639e738d44ade2ea41ce518c11f9e7 /src/gallium | |
parent | 6fbc50e013f1ac7684d8d63d9433f6dd72b4c1cb (diff) |
nv40: remove redundant state_emit() calls
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_vbo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/gallium/drivers/nv40/nv40_vbo.c b/src/gallium/drivers/nv40/nv40_vbo.c index e5ee5f3c4..8c446936e 100644 --- a/src/gallium/drivers/nv40/nv40_vbo.c +++ b/src/gallium/drivers/nv40/nv40_vbo.c @@ -375,8 +375,6 @@ nv40_draw_elements_inline(struct pipe_context *pipe, struct pipe_winsys *ws = pipe->winsys; void *map; - nv40_state_emit(nv40); - map = ws->buffer_map(ws, ib, PIPE_BUFFER_USAGE_CPU_READ); if (!ib) { NOUVEAU_ERR("failed mapping ib\n"); @@ -468,7 +466,6 @@ nv40_draw_elements(struct pipe_context *pipe, return nv40_draw_elements_swtnl(pipe, NULL, 0, mode, start, count); } - nv40_state_emit(nv40); if (idxbuf) { nv40_draw_elements_vbo(pipe, mode, start, count); |