Move GLFW error handling into PlatformGLFW
This commit is contained in:
@@ -61,8 +61,6 @@ namespace openVulkanoCpp::GLFW
|
||||
|
||||
void WindowGLFW::RegisterCallbacks() const
|
||||
{
|
||||
glfwSetErrorCallback(ErrorCallback);
|
||||
|
||||
glfwSetDropCallback(window, DropCallback);
|
||||
glfwSetFramebufferSizeCallback(window, ResizeCallback);
|
||||
glfwSetWindowFocusCallback(window, FocusCallback);
|
||||
@@ -405,11 +403,6 @@ namespace openVulkanoCpp::GLFW
|
||||
//TODO something useful
|
||||
}
|
||||
|
||||
void WindowGLFW::ErrorCallback(const int error, const char* description)
|
||||
{
|
||||
Logger::WINDOW->error("GLFW error (e{0}): {1}", error, description);
|
||||
}
|
||||
|
||||
std::vector<std::string> WindowGLFW::GetVulkanRequiredInstanceExtensions()
|
||||
{
|
||||
std::vector<std::string> result;
|
||||
|
||||
Reference in New Issue
Block a user