mirror of
https://github.com/glfw/glfw
synced 2026-09-29 04:35:56 +03:00
Formatting.
This commit is contained in:
parent
7e7672a2e5
commit
05a477242b
1 changed files with 1 additions and 2 deletions
|
|
@ -130,8 +130,6 @@ int main(int argc, char** argv)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
glfwGetWindowPos(windows[0], &x, &y);
|
||||
|
||||
// This is the one and only time we create a texture
|
||||
// It is created inside the first context, created above
|
||||
// It will then be shared with the second context, created below
|
||||
|
|
@ -144,6 +142,7 @@ int main(int argc, char** argv)
|
|||
exit(EXIT_FAILURE);
|
||||
}
|
||||
|
||||
glfwGetWindowPos(windows[0], &x, &y);
|
||||
glfwSetWindowPos(windows[1], x + WIDTH + 50, y);
|
||||
|
||||
while (glfwIsWindow(windows[0]) && glfwIsWindow(windows[1]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue