fix joysticks.c

joysticks controls was not being drawn visibly
This commit is contained in:
David Park 2015-02-02 12:57:50 -05:00
parent 4188c263e3
commit 86b17c9dff

View File

@ -126,8 +126,8 @@ static void draw_joysticks(GLFWwindow* window)
if (j->present) if (j->present)
{ {
draw_joystick(j, draw_joystick(j,
0, i * height / joystick_count, 0, i * height / (sizeof(joysticks) / sizeof(Joystick)),
width, height / joystick_count); width, height / (sizeof(joysticks) / sizeof(Joystick)));
} }
} }
} }