From df8eae1db09ec6d7fa5111cbbb6bc87caaa5aa70 Mon Sep 17 00:00:00 2001 From: Alug Date: Sun, 14 Sep 2025 23:20:18 +0200 Subject: [PATCH] delet mousegrabok --- src/sdl/i_video.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index 04d5b7506..f2685cf2f 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -166,7 +166,6 @@ static SDL_Surface *icoSurface = NULL; static UINT32 localPalette[256]; Uint16 realwidth = BASEVIDWIDTH; Uint16 realheight = BASEVIDHEIGHT; -static SDL_bool mousegrabok = SDL_TRUE; #define HalfWarpMouse(x,y) if (wrapmouseok) SDL_WarpMouseInWindow(window, (Uint16)(x/2),(Uint16)(y/2)) static SDL_bool exposevideo = SDL_FALSE; static SDL_bool usesdl2soft = SDL_FALSE; @@ -1929,9 +1928,6 @@ void I_StartupGraphics(void) VID_SetMode(VID_GetModeForSize(BASEVIDWIDTH, BASEVIDHEIGHT)); - if (M_CheckParm("-nomousegrab")) - mousegrabok = SDL_FALSE; - realwidth = (Uint16)vid.width; realheight = (Uint16)vid.height;