Upload files to "/"

This commit is contained in:
2025-12-04 18:26:10 +00:00
commit e0dd5b6c17
2 changed files with 73 additions and 0 deletions

45
glfwVulkan.c Normal file
View File

@@ -0,0 +1,45 @@
#include <stdio.h>
#include <vulkan/vulkan.h>
#include <GLFW/glfw3.h>
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;
}