Skip to content

Commit 3fdd15a

Browse files
committed
Fixed double-release of GameInput at shutdown
1 parent 6b9dfcc commit 3fdd15a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/video/windows/SDL_windowsgameinput.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -580,11 +580,6 @@ void WIN_QuitGameInput(SDL_VideoDevice *_this)
580580
GAMEINPUT_InternalRemoveByIndex(data, 0);
581581
}
582582

583-
data->pGameInput->Release();
584-
data->pGameInput = NULL;
585-
}
586-
587-
if (data->pGameInput) {
588583
SDL_QuitGameInput();
589584
data->pGameInput = NULL;
590585
}

0 commit comments

Comments
 (0)