summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_vbo.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-12 00:19:15 +0200
committerPatrice Mandin <[email protected]>2008-07-12 00:19:15 +0200
commit2419a5fe3601851989506a11b0bd4e3cfb071035 (patch)
treeb68cffce9f12e89949e963fb713b53a59096eadc /src/gallium/drivers/nv30/nv30_vbo.c
parentc7086277546d065eb94ba8dbeca1620605f167ea (diff)
nv30: Emit vertex program using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_vbo.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_vbo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_vbo.c b/src/gallium/drivers/nv30/nv30_vbo.c
index d23164eb485..8e4ee7a8742 100644
--- a/src/gallium/drivers/nv30/nv30_vbo.c
+++ b/src/gallium/drivers/nv30/nv30_vbo.c
@@ -100,7 +100,7 @@ nv30_vbo_static_attrib(struct nv30_context *nv30, int attrib,
static void
nv30_vbo_arrays_update(struct nv30_context *nv30)
{
- struct nv30_vertex_program *vp = nv30->vertprog.active;
+ struct nv30_vertex_program *vp = nv30->vertprog;
uint32_t inputs, vtxfmt[16];
int hw, num_hw = 0;