mirror of
https://github.com/glfw/glfw.git
synced 2025-10-03 13:20:58 +00:00
Merge 86b17c9dff
into 4188c263e3
This commit is contained in:
commit
f13bd58bbd
@ -126,8 +126,8 @@ static void draw_joysticks(GLFWwindow* window)
|
||||
if (j->present)
|
||||
{
|
||||
draw_joystick(j,
|
||||
0, i * height / joystick_count,
|
||||
width, height / joystick_count);
|
||||
0, i * height / (sizeof(joysticks) / sizeof(Joystick)),
|
||||
width, height / (sizeof(joysticks) / sizeof(Joystick)));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user