cell: set cell->num_textures in cell_set_sampler_textures()
authorBrian <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2008 02:36:53 +0000 (20:36 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Tue, 1 Apr 2008 03:16:48 +0000 (21:16 -0600)
src/gallium/drivers/cell/ppu/cell_pipe_state.c

index 00f4be7401ea3b59b18de0da3169409326880c3d..52c31260505b4f99b9cce228cc379038074fc48f 100644 (file)
@@ -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);