Added a few debug printf() calls.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 28 May 2014 01:27:27 -0400
changeset 8936 59cbb9959346
parent 8935 9d2f0236322b
child 8937 e5caf226926d
Added a few debug printf() calls.
test/testhittesting.c
--- a/test/testhittesting.c	Wed May 28 01:22:47 2014 -0400
+++ b/test/testhittesting.c	Wed May 28 01:27:27 2014 -0400
@@ -18,10 +18,12 @@
     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;
 }