From 05a477242b5a2dd18bbfcace485eb3b0bb664526 Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Tue, 5 Oct 2010 14:44:01 +0200 Subject: [PATCH] Formatting. --- tests/sharing.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/sharing.c b/tests/sharing.c index 0bf32528..588e5f0b 100644 --- a/tests/sharing.c +++ b/tests/sharing.c @@ -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]))