mirror of
https://github.com/glfw/glfw.git
synced 2026-09-22 08:50:15 +00:00
Separated window and framebuffer sizes.
This commit is contained in:
+2
-2
@@ -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++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user