diff --git a/tests/reopen.c b/tests/reopen.c index ea0542f3..acac0a44 100644 --- a/tests/reopen.c +++ b/tests/reopen.c @@ -35,6 +35,7 @@ #include +#include #include #include @@ -112,6 +113,8 @@ int main(int argc, char** argv) int count = 0; GLFWwindow* window; + srand(time(NULL)); + glfwSetErrorCallback(error_callback); if (!glfwInit())