diff options
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; } |