Commit 7364ed016b557ed46a8b0fedb954719a531d948d

Ryan C. Gordon 2014-05-28T01:27:27

Added a few debug printf() calls.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/test/testhittesting.c b/test/testhittesting.c
index 1e38678..5d347ad 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;
 }