Graphics is now a global object, instead of a per-window one

This commit is contained in:
HOEGLER Stefan committed 2020-03-15 15:58:01 +01:00
1 parent 30e256d0aa
commit 3b55755f0c
20 files changed
+121 -59

No files matched your search

+4
View File
@@ -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()