mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-10 03:46:27 +00:00
Displays are now referenced by instance ID instead of index
This commit is contained in:
@@ -350,7 +350,7 @@ Android_IsScreenKeyboardShown(_THIS, SDL_Window *window)
|
||||
|
||||
void Android_StartTextInput(_THIS)
|
||||
{
|
||||
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
||||
SDL_VideoData *videodata = _this->driverdata;
|
||||
Android_JNI_ShowTextInput(&videodata->textRect);
|
||||
}
|
||||
|
||||
@@ -361,7 +361,7 @@ void Android_StopTextInput(_THIS)
|
||||
|
||||
void Android_SetTextInputRect(_THIS, const SDL_Rect *rect)
|
||||
{
|
||||
SDL_VideoData *videodata = (SDL_VideoData *)_this->driverdata;
|
||||
SDL_VideoData *videodata = _this->driverdata;
|
||||
|
||||
if (rect == NULL) {
|
||||
SDL_InvalidParamError("rect");
|
||||
|
Reference in New Issue
Block a user