mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-26 01:45:35 +00:00
Added a few debug printf() calls.
This commit is contained in:
parent
98c03f391d
commit
7364ed016b
|
@ -18,10 +18,12 @@ hitTest(SDL_Window *window, const SDL_Point *pt, void *data)
|
||||||
int i;
|
int i;
|
||||||
for (i = 0; i < numareas; i++) {
|
for (i = 0; i < numareas; i++) {
|
||||||
if (SDL_PointInRect(pt, &areas[i])) {
|
if (SDL_PointInRect(pt, &areas[i])) {
|
||||||
|
printf("HIT-TEST: DRAGGABLE\n");
|
||||||
return SDL_HITTEST_DRAGGABLE;
|
return SDL_HITTEST_DRAGGABLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
printf("HIT-TEST: NORMAL\n");
|
||||||
return SDL_HITTEST_NORMAL;
|
return SDL_HITTEST_NORMAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue