From 025f8c951867f210428fbfd5267e20fc809e61db Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Fri, 10 Sep 2010 00:36:18 +0200 Subject: [PATCH] Made windows have different titles. --- tests/windows.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/tests/windows.c b/tests/windows.c index 66494004..9c52f3b4 100644 --- a/tests/windows.c +++ b/tests/windows.c @@ -32,6 +32,14 @@ #include #include +static const char* titles[] = +{ + "Foo", + "Bar", + "Baz", + "Quux" +}; + static GLFWwindow open_window(int width, int height, const char* title) { GLFWwindow window = glfwOpenWindow(width, height, GLFW_WINDOW); @@ -60,7 +68,7 @@ int main(void) for (i = 0; i < 4; i++) { - windows[i] = open_window(200, 200, "Foo"); + windows[i] = open_window(200, 200, titles[i]); if (!windows[i]) { glfwTerminate();