Make the video_sdl2 warpmouse output a debug message

(cherry picked from commit 69574d53a9511b64092304f0969a31da4789051a)
This commit is contained in:
rakslice 2020-11-12 16:37:06 -08:00
parent c0ceb74931
commit 991496a4f4
1 changed files with 1 additions and 1 deletions

View File

@ -2029,7 +2029,7 @@ void video_set_cursor(void)
if (cursor_in_window) {
int x, y;
SDL_GetMouseState(&x, &y);
printf("WarpMouse to {%d,%d} via video_set_cursor\n", x, y);
D(bug("WarpMouse to {%d,%d} via video_set_cursor\n", x, y));
SDL_WarpMouseInWindow(sdl_window, x, y);
}
}