diff options
| author | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 20:36:53 -0600 |
|---|---|---|
| committer | Brian <brian.paul@tungstengraphics.com> | 2008-03-31 21:16:48 -0600 |
| commit | 5553a3b6757f0baaabbd67dd2f86d834d2f291ca (patch) | |
| tree | ecb84448b15c4833816c9041408562da2be88444 | |
| parent | 686a6c746851b4bc2572aaa1153d570717bdd77f (diff) | |
cell: set cell->num_textures in cell_set_sampler_textures()
| -rw-r--r-- | src/gallium/drivers/cell/ppu/cell_pipe_state.c | 1 |
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 00f4be7401..52c3126050 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); |
