#include "engine/platform/platform.h" #include "base/log.h" #include "base/task_runner.h" #include "engine/audio/audio.h" #include "engine/engine.h" #include "engine/renderer/opengl/renderer_opengl.h" #include "engine/renderer/vulkan/renderer_vulkan.h" #define VULKAN_RENDERER using namespace base; namespace eng { Platform::InternalError Platform::internal_error; Platform::Platform() = default; Platform::~Platform() = default; void Platform::InitializeCommon() { LOG << "Initializing platform."; thread_pool_.Initialize(); TaskRunner::CreateThreadLocalTaskRunner(); audio_ = std::make_unique