gallium: Have pipe_buffer_* receive a pipe_screen instead of a pipe_context.
[mesa.git] / src / gallium / drivers / i965simple / brw_state_pool.c
index 78d4c0e411b69254b7cd31a3eef3c1dfa3b0d16e..d0dc1ef74d667e3f0875fa8a558696428beb553b 100644 (file)
@@ -103,7 +103,7 @@ static void brw_destroy_pool( struct brw_context *brw,
 {
    struct brw_mem_pool *pool = &brw->pool[pool_id];
 
-   pipe_buffer_reference( pool->brw->pipe.winsys,
+   winsys_buffer_reference( pool->brw->pipe.winsys,
                          &pool->buffer,
                          NULL );
 }