Separated window and framebuffer sizes.

This commit is contained in:
Camilla Berglund
2013-06-03 12:51:57 +02:00
parent 89588a4508
commit 3498163da1
26 changed files with 197 additions and 58 deletions
+2 -2
View File
@@ -96,9 +96,9 @@ int main(void)
}
glfwMakeContextCurrent(window);
glfwGetWindowSize(window, &width, &height);
glfwGetFramebufferSize(window, &width, &height);
printf("window size: %ix%i\n", width, height);
printf("framebuffer size: %ix%i\n", width, height);
for (i = 0; glfw_attribs[i].name; i++)
{