SDL_windowsevents.c: comment out unused local mouse var after 70b5cd44

This commit is contained in:
Ozkan Sezer 2024-03-26 11:47:32 +03:00
parent 70b5cd44ec
commit 0556362c38
1 changed files with 2 additions and 2 deletions

View File

@ -1004,7 +1004,7 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
case WM_MOUSEMOVE: case WM_MOUSEMOVE:
{ {
SDL_Mouse *mouse = SDL_GetMouse(); /* SDL_Mouse *mouse = SDL_GetMouse(); */
if (!data->mouse_tracked) { if (!data->mouse_tracked) {
TRACKMOUSEEVENT trackMouseEvent; TRACKMOUSEEVENT trackMouseEvent;
@ -1040,7 +1040,7 @@ LRESULT CALLBACK WIN_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara
case WM_XBUTTONDOWN: case WM_XBUTTONDOWN:
case WM_XBUTTONDBLCLK: case WM_XBUTTONDBLCLK:
{ {
SDL_Mouse *mouse = SDL_GetMouse(); /* SDL_Mouse *mouse = SDL_GetMouse(); */
if (!data->videodata->raw_mouse_enabled) { if (!data->videodata->raw_mouse_enabled) {
if (GetMouseMessageSource((ULONG)GetMessageExtraInfo()) != SDL_MOUSE_EVENT_SOURCE_TOUCH && if (GetMouseMessageSource((ULONG)GetMessageExtraInfo()) != SDL_MOUSE_EVENT_SOURCE_TOUCH &&
lParam != data->last_pointer_update) { lParam != data->last_pointer_update) {