From: Brian Date: Tue, 1 Apr 2008 02:36:53 +0000 (-0600) Subject: cell: set cell->num_textures in cell_set_sampler_textures() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5553a3b6757f0baaabbd67dd2f86d834d2f291ca;p=mesa.git cell: set cell->num_textures in cell_set_sampler_textures() --- 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);