瀏覽代碼

Fixed build

Sam Lantinga 2 年之前
父節點
當前提交
16f4e37bb5
共有 1 個文件被更改,包括 0 次插入1 次删除
  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);
             }