aboutsummaryrefslogtreecommitdiff
path: root/pugl_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'pugl_test.c')
-rw-r--r--pugl_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pugl_test.c b/pugl_test.c
index 57b9e5e..05efa61 100644
--- a/pugl_test.c
+++ b/pugl_test.c
@@ -110,9 +110,9 @@ onMouse(PuglWindow* win, int button, bool press, int x, int y)
}
static void
-onScroll(PuglWindow* win, int dx, int dy)
+onScroll(PuglWindow* win, float dx, float dy)
{
- fprintf(stderr, "Scroll %d %d\n", dx, dy);
+ fprintf(stderr, "Scroll %f %f\n", dx, dy);
dist += dy / 4.0f;
puglPostRedisplay(win);
}