mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-26 20:28:49 -05:00
Made windows test show all windows at once.
This commit is contained in:
parent
11587f1dde
commit
35fd08f594
|
@ -91,9 +91,11 @@ int main(void)
|
||||||
glfwSetWindowPos(windows[i],
|
glfwSetWindowPos(windows[i],
|
||||||
100 + (i & 1) * (200 + left + right),
|
100 + (i & 1) * (200 + left + right),
|
||||||
100 + (i >> 1) * (200 + top + bottom));
|
100 + (i >> 1) * (200 + top + bottom));
|
||||||
glfwShowWindow(windows[i]);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < 4; i++)
|
||||||
|
glfwShowWindow(windows[i]);
|
||||||
|
|
||||||
while (running)
|
while (running)
|
||||||
{
|
{
|
||||||
for (i = 0; i < 4; i++)
|
for (i = 0; i < 4; i++)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user