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
@@ -84,7 +84,7 @@ int _glfwPlatformJoystickPresent(int joy)
return GL_TRUE;
}
float* _glfwPlatformGetJoystickAxes(int joy, int* count)
const float* _glfwPlatformGetJoystickAxes(int joy, int* count)
{
JOYCAPS jc;
JOYINFOEX ji;
@@ -117,7 +117,7 @@ float* _glfwPlatformGetJoystickAxes(int joy, int* count)
return axes;
}
unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
const unsigned char* _glfwPlatformGetJoystickButtons(int joy, int* count)
{
JOYCAPS jc;
JOYINFOEX ji;