summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorThomas Hellstrom <[email protected]>2016-02-29 13:33:39 +0100
committerThomas Hellstrom <[email protected]>2017-02-22 10:17:51 +0100
commitec8139e50c050e24885c9f015cafc2394b734db5 (patch)
tree85be4285ca2209809a92564abf72a64ff91c0d17 /src/gallium/auxiliary
parentf2872bf8c34bc762a3c1bb2595c8000672659b9f (diff)
gallium/vl: Don't map vertex buffers on creation
It will cause multiple simultaneous maps of the same vertex buffer and flushed-while-mapped warnings. Signed-off-by: Thomas Hellstrom <[email protected]> Reviewed-by: Brian Paul <[email protected]> Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/vl/vl_vertex_buffers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/vl/vl_vertex_buffers.c b/src/gallium/auxiliary/vl/vl_vertex_buffers.c
index 13d3f8c3032..17212278f1a 100644
--- a/src/gallium/auxiliary/vl/vl_vertex_buffers.c
+++ b/src/gallium/auxiliary/vl/vl_vertex_buffers.c
@@ -241,7 +241,6 @@ vl_vb_init(struct vl_vertex_buffer *buffer, struct pipe_context *pipe,
goto error_mv;
}
- vl_vb_map(buffer, pipe);
return true;
error_mv: