Merge remote-tracking branch 'tikhomirov/osx_joystick'

Conflicts:
	.gitignore
	src/cocoa_init.m
This commit is contained in:
Camilla Berglund
2012-01-29 15:05:58 +01:00
5 changed files with 492 additions and 8 deletions
+4
View File
@@ -230,6 +230,8 @@ int _glfwPlatformInit(void)
_glfwPlatformGetGammaRamp(&_glfwLibrary.originalRamp);
_glfwLibrary.currentRamp = _glfwLibrary.originalRamp;
_glfwInitJoysticks();
return GL_TRUE;
}
@@ -251,6 +253,8 @@ int _glfwPlatformTerminate(void)
[_glfwLibrary.NS.autoreleasePool release];
_glfwLibrary.NS.autoreleasePool = nil;
_glfwTerminateJoysticks();
return GL_TRUE;
}