mirror of https://github.com/libsdl-org/SDL
SDL_windowsevents.c: comment out unused local mouse var after 70b5cd44
This commit is contained in:
parent
70b5cd44ec
commit
0556362c38
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue