Skip to content

Commit

Permalink
Added a few debug printf() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed May 28, 2014
1 parent 98c03f3 commit 7364ed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/testhittesting.c
Expand Up @@ -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;
}

Expand Down

0 comments on commit 7364ed0

Please sign in to comment.