forgot one more alignment call

This commit is contained in:
jp9000
2013-10-01 06:18:29 -07:00
parent 658a27362d
commit 493537d7bc

View File

@@ -62,7 +62,7 @@ static bool graphics_init(struct graphics_subsystem *graphics)
vbd->tvarray = baligned_malloc(sizeof(struct tvertarray), 16);
vbd->tvarray[0].width = 2;
vbd->tvarray[0].array =
bmalloc(sizeof(struct vec2) * IMMEDIATE_COUNT);
baligned_malloc(sizeof(struct vec2) * IMMEDIATE_COUNT);
graphics->immediate_vertbuffer = graphics->exports.
device_create_vertexbuffer(graphics->device, vbd, GS_DYNAMIC);