Make the video_sdl2 warpmouse output a debug message
(cherry picked from commit 69574d53a9511b64092304f0969a31da4789051a)
This commit is contained in:
parent
c0ceb74931
commit
991496a4f4
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue