#include #include #include const uint32_t WIDTH = 1920; const uint32_t HEIGHT = 1080; GLFWwindow* window = NULL; const char test[] = "window"; void initWindow(){ glfwInit(); glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API); glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE); window = glfwCreateWindow(WIDTH, HEIGHT, test, nullptr, nullptr); } void initVulkan(){ } void mainLoop(){ while(!glfwWindowShouldClose(window)){ glfwPollEvents(); } } void cleanUp(){ glfwDestroyWindow(window); glfwTerminate(); } void run(){ initWindow(); initVulkan(); mainLoop(); cleanUp(); } int main(){ run(); return 0; }