i915g: Use alignment of 64 instead of 16 for buffer allocation
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
809d3a7d25
commit
4329e99b23
|
@ -135,7 +135,7 @@ i915_buffer_create(struct pipe_screen *screen,
|
|||
buf->b.vtbl = &i915_buffer_vtbl;
|
||||
pipe_reference_init(&buf->b.b.reference, 1);
|
||||
buf->b.b.screen = screen;
|
||||
buf->data = align_malloc(template->width0, 16);
|
||||
buf->data = align_malloc(template->width0, 64);
|
||||
buf->free_on_destroy = TRUE;
|
||||
|
||||
if (!buf->data)
|
||||
|
|
Loading…
Reference in New Issue