Lines Matching refs:windows
40 static GLFWwindow* windows[2]; variable
137 windows[0] = open_window("First", NULL, OFFSET, OFFSET); in main()
138 if (!windows[0]) in main()
149 glfwGetWindowPos(windows[0], &x, &y); in main()
150 glfwGetWindowSize(windows[0], &width, NULL); in main()
153 windows[1] = open_window("Second", windows[0], x + width + OFFSET, y); in main()
154 if (!windows[1]) in main()
161 glfwMakeContextCurrent(windows[0]); in main()
163 glfwMakeContextCurrent(windows[1]); in main()
166 glfwMakeContextCurrent(windows[0]); in main()
168 while (!glfwWindowShouldClose(windows[0]) && in main()
169 !glfwWindowShouldClose(windows[1])) in main()
171 glfwMakeContextCurrent(windows[0]); in main()
174 glfwMakeContextCurrent(windows[1]); in main()
177 glfwSwapBuffers(windows[0]); in main()
178 glfwSwapBuffers(windows[1]); in main()