Changed StartTextInput to take an SDL_Window parameter.
This commit is contained in:
parent
9807496e30
commit
2beaeb4080
8 changed files with 9 additions and 10 deletions
|
@ -617,7 +617,7 @@ SDL_SetKeyboardFocus(SDL_Window * window)
|
|||
0, 0);
|
||||
|
||||
if (SDL_EventState(SDL_TEXTINPUT, SDL_QUERY)) {
|
||||
SDL_StartTextInput();
|
||||
SDL_StartTextInput(window);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue