mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
Fixed constness of joystick data.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user