From 7364ed016b557ed46a8b0fedb954719a531d948d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 28 May 2014 01:27:27 -0400 Subject: [PATCH] Added a few debug printf() calls. --- test/testhittesting.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/testhittesting.c b/test/testhittesting.c index 1e3867862..5d347ad6d 100644 --- a/test/testhittesting.c +++ b/test/testhittesting.c @@ -18,10 +18,12 @@ hitTest(SDL_Window *window, const SDL_Point *pt, void *data) int i; for (i = 0; i < numareas; i++) { if (SDL_PointInRect(pt, &areas[i])) { + printf("HIT-TEST: DRAGGABLE\n"); return SDL_HITTEST_DRAGGABLE; } } + printf("HIT-TEST: NORMAL\n"); return SDL_HITTEST_NORMAL; }