|
|
@ -913,7 +913,7 @@ VkResult init_vulkan(GLFWwindow* window, RenderContext* context) {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
VK_RESULT(vkCreateCommandPool(context->device, &transfer_pool_info, 0, &context->transfer_pool));
|
|
|
|
VK_RESULT(vkCreateCommandPool(context->device, &transfer_pool_info, 0, &context->transfer_pool));
|
|
|
|
|
|
|
|
|
|
|
|
for(int i = 0; i < MAX_FRAMES_IN_FLIGHT; i++) {
|
|
|
|
for(uint32_t i = 0; i < MAX_FRAMES_IN_FLIGHT; i++) {
|
|
|
|
VK_RESULT(create_frame_context(context->device, context->allocator, context->transfer_pool, &context->frame[i]));
|
|
|
|
VK_RESULT(create_frame_context(context->device, context->allocator, context->transfer_pool, &context->frame[i]));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|