diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-09-03 11:48:05 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-09-03 11:53:39 +0900 |
commit | f637a96e85a51a66f2c53b91118a6815bb61d6e6 (patch) | |
tree | bd56aa4cc21fed53612e8625321a961dea25e60c /src/gallium/drivers/cell/ppu/cell_state_shader.c | |
parent | 82086f5d21295d5ceffb0fd9963de7de4112964b (diff) |
gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
We want to use the pipe_buffer_* inlines everywhere, but a pipe context
is not always available nor is it needed.
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_state_shader.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_state_shader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_state_shader.c b/src/gallium/drivers/cell/ppu/cell_state_shader.c index 86bcad05e9..3d1b887da9 100644 --- a/src/gallium/drivers/cell/ppu/cell_state_shader.c +++ b/src/gallium/drivers/cell/ppu/cell_state_shader.c @@ -166,7 +166,7 @@ cell_set_constant_buffer(struct pipe_context *pipe, assert(index == 0); /* note: reference counting */ - pipe_buffer_reference(ws, + winsys_buffer_reference(ws, &cell->constants[shader].buffer, buf->buffer); cell->constants[shader].size = buf->size; |