Переместил менеджер моделей в UwURenderEngine, так как у него нет прямой зависимости от ядра и у ядра нет зависимости от него
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
#include "UwURenderEngine.hpp"
|
||||
|
||||
#include <array>
|
||||
#include <queue>
|
||||
#include <set>
|
||||
#include <stdexcept>
|
||||
#include <fstream>
|
||||
@@ -18,6 +17,8 @@ const std::vector<const char*> UwURenderEngine::deviceExtensions = {
|
||||
VK_KHR_SWAPCHAIN_EXTENSION_NAME
|
||||
};
|
||||
|
||||
RENDER_ENGINE_FACTORY_GENERATE(UwURenderEngine)
|
||||
|
||||
#ifdef _DEBUG
|
||||
static VKAPI_ATTR VkBool32 VKAPI_CALL debugCallback(
|
||||
VkDebugUtilsMessageSeverityFlagBitsEXT messageSeverity,
|
||||
@@ -1051,7 +1052,8 @@ void UwURenderEngine::create_surface()
|
||||
}
|
||||
|
||||
UwURenderEngine::UwURenderEngine(CoreInstance& core):
|
||||
core_(core)
|
||||
core_(core),
|
||||
model_manager_(new ModelManager)
|
||||
#ifdef _DEBUG
|
||||
,debug_messenger_(nullptr)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user