diff --git a/src/main.cpp b/src/main.cpp index 2867d6c..cafbfc8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -64,6 +64,10 @@ int main() } glfwMakeContextCurrent(window); + int width, height; + glfwGetFramebufferSize(window, &width, &height); + glViewport(0, 0, width, height); + glewExperimental = GL_TRUE; int err = glewInit(); if (err != GLEW_OK) {