From f80691eb6ef319993467b7c1ebc515cac42106ed Mon Sep 17 00:00:00 2001 From: mazmazz Date: Sat, 24 Nov 2018 15:36:50 -0500 Subject: [PATCH] Revert "Adjust mouse scaling calculation for SDL in windowed mode" This reverts commit 3b298b7c42442f64e88af46aee406c75e41422c4. --- src/sdl/i_video.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index e2c38efb..3cc29dbb 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -864,8 +864,8 @@ void I_GetEvent(void) //SDL_memset(&event, 0, sizeof(event_t)); event.type = ev_mouse; event.data1 = 0; - event.data2 = (INT32)lround(mousemovex * ((float)realwidth / (float)wwidth)); - event.data3 = (INT32)lround(mousemovey * ((float)realheight / (float)wheight)); + event.data2 = (INT32)lround(mousemovex * ((float)wwidth / (float)realwidth)); + event.data3 = (INT32)lround(mousemovey * ((float)wheight / (float)realheight)); D_PostEvent(&event); }