mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
Before C99 fix.
This commit is contained in:
parent
685b3a9170
commit
a04232b3a1
@ -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(),
|
||||||
|
Loading…
Reference in New Issue
Block a user