diff options
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); |