Fixed double-release of GameInput at shutdown
This commit is contained in:
1 parent
6b9dfcc2fd
commit
3fdd15adaa
1 file changed
-5
@@ -580,11 +580,6 @@ void WIN_QuitGameInput(SDL_VideoDevice *_this)
|
|||||||
GAMEINPUT_InternalRemoveByIndex(data, 0);
|
GAMEINPUT_InternalRemoveByIndex(data, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
data->pGameInput->Release();
|
|
||||||
data->pGameInput = NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (data->pGameInput) {
|
|
||||||
SDL_QuitGameInput();
|
SDL_QuitGameInput();
|
||||||
data->pGameInput = NULL;
|
data->pGameInput = NULL;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user