gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
[mesa.git] / src / gallium / drivers / cell / ppu / cell_state_shader.c
index 86bcad05e9ed773b64f9d57bc47be5609ad4a701..3d1b887da942e425fc2c8dc63a62ec504aaa2a0e 100644 (file)
@@ -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;