diff options
author | Ryan C. Gordon <icculus@icculus.org> | 2014-05-28 01:27:27 -0400 |
---|---|---|
committer | Ryan C. Gordon <icculus@icculus.org> | 2014-05-28 01:27:27 -0400 |
commit | 12037cb2e573790dc5c1233d067055546b35945e (patch) | |
tree | cb3d2b19028c6edb50a208a067ec4fa6417411b2 /test/testhittesting.c | |
parent | a74420d6c53b1488a6fd108e9875bad6b9d74582 (diff) | |
download | sdl-12037cb2e573790dc5c1233d067055546b35945e.tar.gz |
Added a few debug printf() calls.
Diffstat (limited to 'test/testhittesting.c')
-rw-r--r-- | test/testhittesting.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |