cell: set cell->num_textures
authorBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 16:30:12 +0000 (10:30 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Wed, 22 Oct 2008 16:30:12 +0000 (10:30 -0600)
src/gallium/drivers/cell/ppu/cell_pipe_state.c

index 1615e0b..825110c 100644 (file)
@@ -260,6 +260,8 @@ cell_set_sampler_textures(struct pipe_context *pipe,
       }
    }
 
+   cell->num_textures = num;
+
    if (changed) {
       cell->dirty |= CELL_NEW_TEXTURE;
       cell->dirty_textures |= changed;