Sam Lantinga %!s(int64=2) %!d(string=hai) anos
pai
achega
16f4e37bb5
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  1. 0 1
      src/events/SDL_keyboard.c

+ 0 - 1
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);
             }