From e8bbac82f4b1f8c2d4a01120ca435ab39fd920e9 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 19 Dec 2024 22:40:08 +0100 Subject: [PATCH] fix compile without USE_FBO_OGL --- src/sdl/i_video.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sdl/i_video.c b/src/sdl/i_video.c index d269aa698..e828952d4 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -790,7 +790,11 @@ static void I_FixXwaylandNvidia(void) //dumbass crap, fix ur shit nvidia static void Impl_HandleWindowEvent(SDL_WindowEvent evt) { +#ifdef USE_FBO_OGL #define FOCUSUNION (mousefocus | (kbfocus << 1) | (windowmoved << 2)) +#else +#define FOCUSUNION (mousefocus | (kbfocus << 1)) +#endif static SDL_bool firsttimeonmouse = SDL_TRUE; static SDL_bool mousefocus = SDL_TRUE; static SDL_bool kbfocus = SDL_TRUE;