summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nv40/nv40_fragtex.c
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-02-18 17:07:59 +1100
committerBen Skeggs <[email protected]>2008-02-18 17:07:59 +1100
commit4a9cb97bbf6961cc4106c4c54e59296a74e889e9 (patch)
tree775f75a56b93a79b2d1cef33f1b9b098d8e8288f /src/gallium/drivers/nv40/nv40_fragtex.c
parent56045da083d6530a56a2a7585e3121df0b07bac4 (diff)
nv40: get fragprog onto new state mechanism
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_fragtex.c')
-rw-r--r--src/gallium/drivers/nv40/nv40_fragtex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/nv40/nv40_fragtex.c b/src/gallium/drivers/nv40/nv40_fragtex.c
index 5af5fbe7465..811f3098ba7 100644
--- a/src/gallium/drivers/nv40/nv40_fragtex.c
+++ b/src/gallium/drivers/nv40/nv40_fragtex.c
@@ -125,7 +125,7 @@ nv40_fragtex_build(struct nv40_context *nv40, int unit)
void
nv40_fragtex_bind(struct nv40_context *nv40)
{
- struct nv40_fragment_program *fp = nv40->fragprog.active;
+ struct nv40_fragment_program *fp = nv40->pipe_state.fragprog;
unsigned samplers, unit;
samplers = nv40->fp_samplers & ~fp->samplers;