projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
u_upload_mgr: pass alignment to u_upload_alloc manually
[mesa.git]
/
src
/
gallium
/
auxiliary
/
vl
/
vl_compositor.c
diff --git
a/src/gallium/auxiliary/vl/vl_compositor.c
b/src/gallium/auxiliary/vl/vl_compositor.c
index afe53063b48bf0ff9c0857907e56a1e8826bc3c1..f160df63aa535a10dbd5487d70c30798992f61d8 100644
(file)
--- a/
src/gallium/auxiliary/vl/vl_compositor.c
+++ b/
src/gallium/auxiliary/vl/vl_compositor.c
@@
-716,6
+716,7
@@
gen_vertex_data(struct vl_compositor *c, struct vl_compositor_state *s, struct u
/* Allocate new memory for vertices. */
u_upload_alloc(c->upload, 0,
c->vertex_buf.stride * VL_COMPOSITOR_MAX_LAYERS * 4, /* size */
+ 4, /* alignment */
&c->vertex_buf.buffer_offset, &c->vertex_buf.buffer,
(void**)&vb);