commit | f5dc6e40070ce6481c20f592d90aeedfb26a17d9 | [log] [tgz] |
---|---|---|
author | Camilla Berglund <elmindreda@elmindreda.org> | Thu May 30 20:41:39 2013 +0200 |
committer | Camilla Berglund <elmindreda@elmindreda.org> | Thu May 30 20:41:39 2013 +0200 |
tree | 5fb55c2ac1b841d55cf11d27cfd5ff08fd0c1dd5 | |
parent | 53b39a61b9ead77d0807eeab3210c58357084246 [diff] |
Added random seed init.
diff --git a/tests/reopen.c b/tests/reopen.c index ea0542f..acac0a4 100644 --- a/tests/reopen.c +++ b/tests/reopen.c
@@ -35,6 +35,7 @@ #include <GLFW/glfw3.h> +#include <time.h> #include <stdio.h> #include <stdlib.h> @@ -112,6 +113,8 @@ int count = 0; GLFWwindow* window; + srand(time(NULL)); + glfwSetErrorCallback(error_callback); if (!glfwInit())