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

View File

@@ -1973,7 +1973,7 @@ GLFWAPI int glfwJoystickPresent(int joy);
*
* @ingroup input
*/
GLFWAPI float* glfwGetJoystickAxes(int joy, int* count);
GLFWAPI const float* glfwGetJoystickAxes(int joy, int* count);
/*! @brief Returns the values of all buttons of the specified joystick.
* @param[in] joy The joystick to query.
@@ -1985,7 +1985,7 @@ GLFWAPI float* glfwGetJoystickAxes(int joy, int* count);
*
* @ingroup input
*/
GLFWAPI unsigned char* glfwGetJoystickButtons(int joy, int* count);
GLFWAPI const unsigned char* glfwGetJoystickButtons(int joy, int* count);
/*! @brief Returns the name of the specified joystick.
*