X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=scene.h;h=74c4ea61a10476c4af5de918d2a07c066621521a;hb=8f83be5a31728cd6bf95020e729367cc44308763;hp=81d00c3f5c94c06f15ea1be92e80fbb69038a42f;hpb=dd5c7c307f156768189af84603ec6f1f3b887bb4;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/scene.h b/scene.h index 81d00c3..74c4ea6 100644 --- a/scene.h +++ b/scene.h @@ -184,7 +184,7 @@ VG_STATIC scene *scene_fix( void *lin_alloc, scene *pscene ) indice_count = pscene->indice_count, vertex_length = vertex_count * sizeof(scene_vert), index_length = indice_count * sizeof(u32), - tot_size = sizeof(scene) + vertex_length + index_length; + tot_size = vg_align8(sizeof(scene) + vertex_length + index_length); /* copy down index data */ void *dst_indices = pscene->arrvertices + vertex_count;