projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f287f68
)
nv40: typo
author
Ben Skeggs
<skeggsb@gmail.com>
Sun, 16 Dec 2007 09:21:37 +0000
(20:21 +1100)
committer
Ben Skeggs
<skeggsb@gmail.com>
Sun, 16 Dec 2007 09:21:37 +0000
(20:21 +1100)
src/mesa/pipe/nv40/nv40_state.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/nv40/nv40_state.c
b/src/mesa/pipe/nv40/nv40_state.c
index 5b070a280d0f9b348edcaf184fe3a58e04801dce..89d91bdb64d2104f4ff50be3734b8c39f6ef6a6c 100644
(file)
--- 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;
}