@ -1060,7 +1060,9 @@ VkResult create_ui_context(
memory->max_textures = max_textures;
memory->max_fonts = max_fonts;
memory->texture_slots = malloc(max_textures);
memset(memory->texture_slots, 0, max_textures);
memory->font_slots = malloc(max_fonts);
memset(memory->font_slots, 0, max_fonts);
return VK_SUCCESS;
}