summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/nv40/nv40_context.c
diff options
context:
space:
mode:
authorLuca Barbieri <luca@luca-barbieri.com>2010-02-21 11:12:08 +0100
committerYounes Manton <younes.m@gmail.com>2010-03-15 00:03:03 -0400
commit6e1d0fc5eba8cda4f4c8f3188f53fec6d2d2e9c3 (patch)
tree8d7314e1ed530b395717316fdd71ec364df8da2b /src/gallium/drivers/nv40/nv40_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/nv40/nv40_context.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_context.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_context.c b/src/gallium/drivers/nv40/nv40_context.c
index eb83131772..85c1355b4f 100644
--- a/src/gallium/drivers/nv40/nv40_context.c
+++ b/src/gallium/drivers/nv40/nv40_context.c
@@ -60,8 +60,8 @@ nv40_create(struct pipe_screen *pscreen, void *priv)
nvfx->pipe.priv = priv;
nvfx->pipe.screen = pscreen;
nvfx->pipe.destroy = nv40_destroy;
- nvfx->pipe.draw_arrays = nv40_draw_arrays;
- nvfx->pipe.draw_elements = nv40_draw_elements;
+ nvfx->pipe.draw_arrays = nvfx_draw_arrays;
+ nvfx->pipe.draw_elements = nvfx_draw_elements;
nvfx->pipe.clear = nvfx_clear;
nvfx->pipe.flush = nv40_flush;