diff --git a/src/Backends/GLFW3/Controller.cpp b/src/Backends/GLFW3/Controller.cpp index 19ded45e..b3f77e34 100644 --- a/src/Backends/GLFW3/Controller.cpp +++ b/src/Backends/GLFW3/Controller.cpp @@ -46,10 +46,8 @@ static void JoystickCallback(int joystick_id, int event) axis_neutrals = (float*)malloc(sizeof(float) * total_axes); if (axis_neutrals != NULL) - { for (int i = 0; i < total_axes; ++i) axis_neutrals[i] = axes[i]; - } else Backend_PrintError("Couldn't allocate memory for axis"); }