src/video/windows/SDL_windowsevents.c
changeset 5139 57851a238c8f
parent 5086 c2539ff054c8
child 5149 be02be2ea897
     1.1 --- a/src/video/windows/SDL_windowsevents.c	Mon Jan 31 22:44:43 2011 -0800
     1.2 +++ b/src/video/windows/SDL_windowsevents.c	Mon Jan 31 22:53:45 2011 -0800
     1.3 @@ -195,14 +195,12 @@
     1.4          /* transform coords for VGA, WVGA... */
     1.5          {
     1.6              SDL_VideoData *videodata = data->videodata;
     1.7 -            if(videodata->CoordTransform &&
     1.8 -                (videodata->render == RENDER_GAPI || videodata->render == RENDER_RAW))
     1.9 -            {
    1.10 +            if(videodata->CoordTransform) {
    1.11                  POINT pt;
    1.12                  pt.x = LOWORD(lParam);
    1.13                  pt.y = HIWORD(lParam);
    1.14                  videodata->CoordTransform(data->window, &pt);
    1.15 -                    SDL_SendMouseMotion(data->window, 0, pt.x, pt.y);
    1.16 +                SDL_SendMouseMotion(data->window, 0, pt.x, pt.y);
    1.17                  break;
    1.18              }
    1.19          }