diff options
author | lonkaars <loek@pipeframe.xyz> | 2024-05-16 19:13:05 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2024-05-16 19:13:05 +0200 |
commit | 07b820f4575d2108b5675106d3ea16e83c168c22 (patch) | |
tree | f886e2089aea67ae18a9ec24c976685b00e006e2 /main.c | |
parent | 107684b00d65eac84e4bf2dfd34073d309230d50 (diff) |
clean up garbage code i wrote 5 minutes ago
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -4,6 +4,7 @@ #include "shader.h" #include "die.h" +#include "config.h" #include "hello_vert.h" #include "hello_frag.h" @@ -45,7 +46,7 @@ int main(int argc, char** argv) { glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE); // initialize window - GLFWwindow* window = glfwCreateWindow(800, 600, "vis", NULL, NULL); + GLFWwindow* window = glfwCreateWindow(WIDTH, HEIGHT, "vis", NULL, NULL); if (window == NULL) die("error: could not create window\n"); glfwMakeContextCurrent(window); |