summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_context.c
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-02-21 11:12:08 +0100
committerYounes Manton <[email protected]>2010-03-15 00:03:03 -0400
commit6e1d0fc5eba8cda4f4c8f3188f53fec6d2d2e9c3 (patch)
tree8d7314e1ed530b395717316fdd71ec364df8da2b /src/gallium/drivers/nv30/nv30_context.c
parentf9eafeca297497a94c438ea28ed59f3a45ed2566 (diff)
nv30, nv40: unify nv[34]0_vbo.c
The files are identical, except for swtnl support which is commented out on nv30 and restart being initialized on nv30 to avoid a compiler warning.
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_context.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv30/nv30_context.c b/src/gallium/drivers/nv30/nv30_context.c
index 671a1939e8d..730f4588785 100644
--- a/src/gallium/drivers/nv30/nv30_context.c
+++ b/src/gallium/drivers/nv30/nv30_context.c
@@ -60,8 +60,8 @@ nv30_create(struct pipe_screen *pscreen, void *priv)
nvfx->pipe.screen = pscreen;
nvfx->pipe.priv = priv;
nvfx->pipe.destroy = nv30_destroy;
- nvfx->pipe.draw_arrays = nv30_draw_arrays;
- nvfx->pipe.draw_elements = nv30_draw_elements;
+ nvfx->pipe.draw_arrays = nvfx_draw_arrays;
+ nvfx->pipe.draw_elements = nvfx_draw_elements;
nvfx->pipe.clear = nvfx_clear;
nvfx->pipe.flush = nv30_flush;