From 19af6e9161c941d66eac4cd0c782e2a2caadce67 Mon Sep 17 00:00:00 2001 From: Ben Skeggs Date: Sun, 16 Dec 2007 20:21:37 +1100 Subject: nv40: typo --- src/mesa/pipe/nv40/nv40_state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3