Graphics is now a global object, instead of a per-window one
This commit is contained in:
@@ -1,7 +1,11 @@
|
||||
#include "WindowManager.h"
|
||||
#include "Vulkan/VulkanGraphics.h"
|
||||
|
||||
Seele::WindowManager::WindowManager()
|
||||
{
|
||||
graphics = new VulkanGraphics();
|
||||
GraphicsInitializer initializer;
|
||||
graphics->init(initializer);
|
||||
}
|
||||
|
||||
Seele::WindowManager::~WindowManager()
|
||||
|
||||
Reference in New Issue
Block a user