llvmpipe: (trivial) use correct LP_MIN_VECTOR_ALIGN define for alignment.

Currently it's the same value.

Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
Roland Scheidegger 2014-04-04 04:24:49 +02:00
parent 3a3b1bf60e
commit 2f65f61bea
1 changed files with 1 additions and 1 deletions

View File

@ -953,7 +953,7 @@ try_update_scene_state( struct lp_setup_context *setup )
/* Alloc u8_blend_color (16 x i8) and f_blend_color (4 or 8 x f32) */
size = 4 * 16 * sizeof(uint8_t);
size += (LP_MAX_VECTOR_LENGTH / 4) * sizeof(float);
stored = lp_scene_alloc_aligned(scene, size, LP_MAX_VECTOR_LENGTH);
stored = lp_scene_alloc_aligned(scene, size, LP_MIN_VECTOR_ALIGN);
if (!stored) {
assert(!new_scene);