diff options
author | Brian <[email protected]> | 2008-02-20 15:13:33 -0700 |
---|---|---|
committer | Brian <[email protected]> | 2008-02-20 15:14:14 -0700 |
commit | e523ef72044d7f8137a298d60597b8913bae9145 (patch) | |
tree | 57f4b56caa9f3d8f5be24e5597668e3a7ac958a7 /src | |
parent | 25ea1901b44107a5bc5351487e18d52d75df8ffd (diff) |
cell: use pipe_texture_reference()
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_pipe_state.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_pipe_state.c b/src/gallium/drivers/cell/ppu/cell_pipe_state.c index 35e88f79b12..95bfc29fbeb 100644 --- a/src/gallium/drivers/cell/ppu/cell_pipe_state.c +++ b/src/gallium/drivers/cell/ppu/cell_pipe_state.c @@ -242,7 +242,9 @@ cell_set_sampler_texture(struct pipe_context *pipe, draw_flush(cell->draw); - cell->texture[sampler] = cell_texture(texture); + pipe_texture_reference(pipe, + (struct pipe_texture **) &cell->texture[sampler], + texture); cell_update_texture_mapping(cell); |