#include<stdafx.h> #include<stdafx.h> #include "VulkanWindow.h" namespace vkbp { GLFWwindow* VulkanWindow::GetWindowHandle() { return m_window; } VulkanWindow::VulkanWindow(const char* title, const int width, const int height) { glfwInit(); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); m_window = glfwCreateWindow(width, height, title, nullptr, nullptr); } VulkanWindow::~VulkanWindow() { glfwDestroyWindow(m_window); } }