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
@@ -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);