Vulkan device initialization moved to KRDevice

This commit is contained in:
2021-08-16 18:25:03 -07:00
parent 748bd56b37
commit 61a83dd28d
4 changed files with 199 additions and 158 deletions

View File

@@ -215,7 +215,7 @@ private:
std::atomic<bool> m_stop;
void renderFrame();
unordered_map<KrDeviceHandle, KRDevice> m_devices;
unordered_map<KrDeviceHandle, std::unique_ptr<KRDevice>> m_devices;
KrDeviceHandle m_topDeviceHandle;
unordered_map<KrSurfaceHandle, KRSurface> m_surfaces;