From 46b2d5fbcdd5c62fda1f44696e6f2e89be1ce4e4 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 aaea21f48..b3a18899d 100644 --- a/src/sdl/i_video.c +++ b/src/sdl/i_video.c @@ -781,7 +781,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;