diff src/video/windows/SDL_windowsevents.c @ 5142:57851a238c8f

Removed more partially functional renderers
author Sam Lantinga <slouken@libsdl.org>
date Mon, 31 Jan 2011 22:53:45 -0800
parents c2539ff054c8
children be02be2ea897
line wrap: on
line diff
--- a/src/video/windows/SDL_windowsevents.c	Mon Jan 31 22:44:43 2011 -0800
+++ b/src/video/windows/SDL_windowsevents.c	Mon Jan 31 22:53:45 2011 -0800
@@ -195,14 +195,12 @@
         /* transform coords for VGA, WVGA... */
         {
             SDL_VideoData *videodata = data->videodata;
-            if(videodata->CoordTransform &&
-                (videodata->render == RENDER_GAPI || videodata->render == RENDER_RAW))
-            {
+            if(videodata->CoordTransform) {
                 POINT pt;
                 pt.x = LOWORD(lParam);
                 pt.y = HIWORD(lParam);
                 videodata->CoordTransform(data->window, &pt);
-                    SDL_SendMouseMotion(data->window, 0, pt.x, pt.y);
+                SDL_SendMouseMotion(data->window, 0, pt.x, pt.y);
                 break;
             }
         }