mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Fixed double-release of GameInput at shutdown
This commit is contained in:
@@ -580,11 +580,6 @@ void WIN_QuitGameInput(SDL_VideoDevice *_this)
|
||||
GAMEINPUT_InternalRemoveByIndex(data, 0);
|
||||
}
|
||||
|
||||
data->pGameInput->Release();
|
||||
data->pGameInput = NULL;
|
||||
}
|
||||
|
||||
if (data->pGameInput) {
|
||||
SDL_QuitGameInput();
|
||||
data->pGameInput = NULL;
|
||||
}
|
||||
|
Reference in New Issue
Block a user