|
|
@ -1054,9 +1054,7 @@ VkResult create_ui_context(
|
|
|
|
context->containers = malloc(max_containers*sizeof(Container));
|
|
|
|
context->containers = malloc(max_containers*sizeof(Container));
|
|
|
|
memset(context->containers, 0, max_containers*sizeof(Container));
|
|
|
|
memset(context->containers, 0, max_containers*sizeof(Container));
|
|
|
|
|
|
|
|
|
|
|
|
VK_RESULT(load_font(0, "fonts/eracake.ttf", 256, VK_TRUE, gpu, context));
|
|
|
|
VK_RESULT(load_font(0, "fonts/runescape.ttf", 16, VK_FALSE, gpu, context));
|
|
|
|
VK_RESULT(load_font(1, "fonts/yumoda.ttf", 256, VK_TRUE, gpu, context));
|
|
|
|
|
|
|
|
VK_RESULT(load_font(2, "fonts/runescape.ttf", 16, VK_FALSE, gpu, context));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return VK_SUCCESS;
|
|
|
|
return VK_SUCCESS;
|
|
|
|
}
|
|
|
|
}
|
|
|
|