summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv30/nv30_fragtex.c
diff options
context:
space:
mode:
authorPatrice Mandin <[email protected]>2008-07-12 00:48:26 +0200
committerPatrice Mandin <[email protected]>2008-07-12 00:48:26 +0200
commit58737dc87575625438d288fe2f816b6a9d2086f1 (patch)
treee4b89db836a2712be232dac764e9e4a0b1f50b0f /src/gallium/drivers/nv30/nv30_fragtex.c
parent2419a5fe3601851989506a11b0bd4e3cfb071035 (diff)
nv30: Emit fragment program using state objects
Diffstat (limited to 'src/gallium/drivers/nv30/nv30_fragtex.c')
-rw-r--r--src/gallium/drivers/nv30/nv30_fragtex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv30/nv30_fragtex.c b/src/gallium/drivers/nv30/nv30_fragtex.c
index abe77b51df2..8c5e88ea1da 100644
--- a/src/gallium/drivers/nv30/nv30_fragtex.c
+++ b/src/gallium/drivers/nv30/nv30_fragtex.c
@@ -143,7 +143,7 @@ nv30_fragtex_build(struct nv30_context *nv30, int unit)
static boolean
nv30_fragtex_validate(struct nv30_context *nv30)
{
- struct nv30_fragment_program *fp = nv30->fragprog.current;
+ struct nv30_fragment_program *fp = nv30->fragprog;
struct nv30_state *state = &nv30->state;
struct nouveau_stateobj *so;
unsigned samplers, unit;