Fixed constness of joystick data.

This commit is contained in:
Camilla Berglund
2013-06-04 18:20:38 +02:00
parent 179d90956a
commit 180a4ee640
7 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -463,7 +463,7 @@ int _glfwPlatformJoystickPresent(int joy)
return _glfw.ns.joysticks[joy].present;
}
float* _glfwPlatformGetJoystickAxes(int joy, int* count)
const float* _glfwPlatformGetJoystickAxes(int joy, int* count)
{
_GLFWjoy* joystick = _glfw.ns.joysticks + joy;
@@ -476,7 +476,7 @@ float* _glfwPlatformGetJoystickAxes(int joy, int* count)
return joystick->axes;
}
unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
{
_GLFWjoy* joystick = _glfw.ns.joysticks + joy;