Update platform creation code

This commit is contained in:
2021-02-02 16:14:15 +01:00
parent aede8c9e59
commit 2922e74f07
4 changed files with 79 additions and 14 deletions

View File

@@ -6,6 +6,7 @@
#include "PlatformGLFW.hpp"
#include "WindowGLFW.hpp"
#include "Base/PlatformEnums.hpp"
#include <GLFW/glfw3.h>
namespace openVulkanoCpp::GLFW
@@ -55,4 +56,6 @@ namespace openVulkanoCpp::GLFW
windows.emplace_back(std::move(window));
return windowPtr;
}
PlatformProducerRegistration<PlatformGLFW> platformRegistration(RenderAPI::Vulkan);
}