Before C99 fix.

This commit is contained in:
eriksunden 2017-02-23 23:31:37 +01:00
parent 685b3a9170
commit a04232b3a1

View File

@ -489,7 +489,8 @@ static void joystick_callback(int joy, int event)
static void touch_callback(GLFWwindow* window, GLFWtouch* touchPoints, int count) static void touch_callback(GLFWwindow* window, GLFWtouch* touchPoints, int count)
{ {
printf("Priting info about all touch points"); printf("Priting info about all touch points");
for (int i = 0; i < count; ++i) { int i;
for (i = 0; i < count; ++i) {
printf("%08x at %0.3f: Touch %i %s at position %0.3f %0.3f\n", printf("%08x at %0.3f: Touch %i %s at position %0.3f %0.3f\n",
counter++, counter++,
glfwGetTime(), glfwGetTime(),