Patched to compile on Windows.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 25 Jun 2014 17:24:06 -0400
changeset 8956a99e30f2bf0a
parent 8955 7a74b402790c
child 8957 6bed922bc4dd
Patched to compile on Windows.
src/video/windows/SDL_windowsmouse.c
     1.1 --- a/src/video/windows/SDL_windowsmouse.c	Wed Jun 25 17:20:22 2014 -0400
     1.2 +++ b/src/video/windows/SDL_windowsmouse.c	Wed Jun 25 17:24:06 2014 -0400
     1.3 @@ -282,8 +282,8 @@
     1.4      retval |= GetAsyncKeyState(VK_LBUTTON) & 0x8000 ? SDL_BUTTON_LMASK : 0;
     1.5      retval |= GetAsyncKeyState(VK_RBUTTON) & 0x8000 ? SDL_BUTTON_RMASK : 0;
     1.6      retval |= GetAsyncKeyState(VK_MBUTTON) & 0x8000 ? SDL_BUTTON_MMASK : 0;
     1.7 -    retval |= GetAsyncKeyState(VK_X1BUTTON) & 0x8000 ? SDL_BUTTON_X1MASK : 0;
     1.8 -    retval |= GetAsyncKeyState(VK_X2BUTTON) & 0x8000 ? SDL_BUTTON_X2MASK : 0;
     1.9 +    retval |= GetAsyncKeyState(VK_XBUTTON1) & 0x8000 ? SDL_BUTTON_X1MASK : 0;
    1.10 +    retval |= GetAsyncKeyState(VK_XBUTTON2) & 0x8000 ? SDL_BUTTON_X2MASK : 0;
    1.11  
    1.12      return retval;
    1.13  }