Skip to content

Commit

Permalink
It's okay to quit things more than once.
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 20, 2013
1 parent 20f5167 commit ade13fd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/SDL.c
Expand Up @@ -69,8 +69,6 @@ static void
SDL_PrivateSubsystemRefCountDecr(Uint32 subsystem)
{
int subsystem_index = SDL_MostSignificantBitIndex32(subsystem);
/* If this assert triggers there is a mismatch between init and quit calls */
SDL_assert(SDL_SubsystemRefCount[subsystem_index] > 0);
if (SDL_SubsystemRefCount[subsystem_index] > 0) {
--SDL_SubsystemRefCount[subsystem_index];
}
Expand Down

0 comments on commit ade13fd

Please sign in to comment.