mirror of
https://github.com/glfw/glfw.git
synced 2026-09-23 00:59:48 +00:00
Fixed constness of joystick data.
This commit is contained in:
+2
-2
@@ -138,8 +138,8 @@ static void refresh_joysticks(void)
|
||||
|
||||
if (glfwJoystickPresent(GLFW_JOYSTICK_1 + i))
|
||||
{
|
||||
float* axes;
|
||||
unsigned char* buttons;
|
||||
const float* axes;
|
||||
const unsigned char* buttons;
|
||||
int axis_count, button_count;
|
||||
|
||||
free(j->name);
|
||||
|
||||
Reference in New Issue
Block a user