[g3dvl] fix merge conflicts
authorChristian König <deathsimple@vodafone.de>
Wed, 22 Dec 2010 20:38:48 +0000 (21:38 +0100)
committerChristian König <deathsimple@vodafone.de>
Wed, 22 Dec 2010 20:38:48 +0000 (21:38 +0100)
src/gallium/auxiliary/vl/vl_compositor.c
src/gallium/auxiliary/vl/vl_vertex_buffers.c

index 1a05f369d9b4d155c613527d854120bd5bb7ca12..5187c635e4b36c44db3ca9d3478742e1f018956a 100644 (file)
@@ -516,7 +516,7 @@ static unsigned gen_data(struct vl_compositor *c,
       }
    }
 
-   pipe_buffer_unmap(c->pipe, c->vertex_buf.buffer, buf_transfer);
+   pipe_buffer_unmap(c->pipe, buf_transfer);
 
    return num_rects;
 }
@@ -633,6 +633,5 @@ void vl_compositor_set_csc_matrix(struct vl_compositor *compositor, const float
       sizeof(struct fragment_shader_consts)
    );
 
-   pipe_buffer_unmap(compositor->pipe, compositor->fs_const_buf,
-                     buf_transfer);
+   pipe_buffer_unmap(compositor->pipe, buf_transfer);
 }
index 4182bad784ba117f979f6f2ff8e32ceb98fad1b3..3a69730c9da15198f264c518391e990f9c727ae5 100644 (file)
@@ -77,7 +77,7 @@ vl_vb_upload_quads(struct pipe_context *pipe, unsigned max_blocks)
    for ( i = 0; i < max_blocks; ++i)
      memcpy(v + i, &const_quad, sizeof(const_quad));
 
-   pipe_buffer_unmap(pipe, quad.buffer, buf_transfer);
+   pipe_buffer_unmap(pipe, buf_transfer);
 
    return quad;
 }
@@ -161,7 +161,7 @@ vl_vb_unmap(struct vl_vertex_buffer *buffer, struct pipe_context *pipe)
 {
    assert(buffer && pipe);
 
-   pipe_buffer_unmap(pipe, buffer->resource, buffer->transfer);
+   pipe_buffer_unmap(pipe, buffer->transfer);
 }
 
 unsigned