summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian <[email protected]>2008-03-31 20:36:53 -0600
committerBrian <[email protected]>2008-03-31 21:16:48 -0600
commit5553a3b6757f0baaabbd67dd2f86d834d2f291ca (patch)
treeecb84448b15c4833816c9041408562da2be88444
parent686a6c746851b4bc2572aaa1153d570717bdd77f (diff)
cell: set cell->num_textures in cell_set_sampler_textures()
-rw-r--r--src/gallium/drivers/cell/ppu/cell_pipe_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
index 00f4be7401e..52c31260505 100644
--- a/src/gallium/drivers/cell/ppu/cell_pipe_state.c
+++ b/src/gallium/drivers/cell/ppu/cell_pipe_state.c
@@ -273,6 +273,7 @@ cell_set_sampler_textures(struct pipe_context *pipe,
pipe_texture_reference((struct pipe_texture **) &cell->texture[i], tex);
}
+ cell->num_textures = num;
cell_update_texture_mapping(cell);