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:
Siavash Eliasi 2013-12-03 08:20:32 +03:30 committed by Ian Romanick
parent 809d3a7d25
commit 4329e99b23
1 changed files with 1 additions and 1 deletions

View File

@ -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)