diff options
author | Ben Skeggs <skeggsb@gmail.com> | 2007-12-16 20:21:37 +1100 |
---|---|---|
committer | Ben Skeggs <skeggsb@gmail.com> | 2007-12-16 20:21:37 +1100 |
commit | 19af6e9161c941d66eac4cd0c782e2a2caadce67 (patch) | |
tree | 4b667d13be739eced3a0dd1bb3f7499d9f505226 /src/mesa/pipe | |
parent | f287f687feebb6222137a297283d2dfa4ac11252 (diff) |
nv40: typo
Diffstat (limited to 'src/mesa/pipe')
-rw-r--r-- | src/mesa/pipe/nv40/nv40_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/nv40/nv40_state.c b/src/mesa/pipe/nv40/nv40_state.c index 5b070a280d..89d91bdb64 100644 --- a/src/mesa/pipe/nv40/nv40_state.c +++ b/src/mesa/pipe/nv40/nv40_state.c @@ -309,7 +309,7 @@ nv40_set_sampler_texture(struct pipe_context *pipe, unsigned unit, struct nv40_context *nv40 = (struct nv40_context *)pipe; nv40->tex_miptree[unit] = miptree; - nv40->tex_dirty |= unit; + nv40->tex_dirty |= (1 << unit); nv40->dirty |= NV40_NEW_TEXTURE; } |