Fix scaling for some display set ups
This commit is contained in:
parent
067b91c28a
commit
198cca5344
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user