From 16f4e37bb5e3c6d13e7639ddb44d8e1797fb7175 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 3 Mar 2023 09:49:48 -0800 Subject: [PATCH] Fixed build --- src/events/SDL_keyboard.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/events/SDL_keyboard.c b/src/events/SDL_keyboard.c index 93c8efe96..de07c168d 100644 --- a/src/events/SDL_keyboard.c +++ b/src/events/SDL_keyboard.c @@ -793,7 +793,6 @@ int SDL_SetKeyboardFocus(SDL_Window *window) 0, 0); if (SDL_EventEnabled(SDL_EVENT_TEXT_INPUT)) { - SDL_VideoDevice *video = SDL_GetVideoDevice(); if (video && video->StartTextInput) { video->StartTextInput(video); }