Fix scaling for some display set ups

This commit is contained in:
Cameron Reed 2024-06-18 23:22:13 -06:00
parent 067b91c28a
commit 198cca5344

View File

@ -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) {