...and should have probably compiled it first

This commit is contained in:
jp9000 2013-10-01 06:19:11 -07:00
parent 493537d7bc
commit 7f8a2890a1

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 =
baligned_malloc(sizeof(struct vec2) * IMMEDIATE_COUNT);
baligned_malloc(sizeof(struct vec2) * IMMEDIATE_COUNT, 16);
graphics->immediate_vertbuffer = graphics->exports.
device_create_vertexbuffer(graphics->device, vbd, GS_DYNAMIC);