Replaced guessing with dirent and regex.

This commit is contained in:
Camilla Berglund
2012-09-07 15:27:41 +02:00
parent e70ced5e05
commit 4cb569b5b3
3 changed files with 39 additions and 15 deletions
+2 -1
View File
@@ -648,7 +648,8 @@ int _glfwPlatformInit(void)
_glfwLibrary.X11.cursor = createNULLCursor();
_glfwInitJoysticks();
if (!_glfwInitJoysticks())
return GL_FALSE;
// Start the timer
_glfwInitTimer();