summaryrefslogtreecommitdiff
path: root/src/SDL.c
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2013-10-20 10:39:26 -0700
committerSam Lantinga <slouken@libsdl.org>2013-10-20 10:39:26 -0700
commit8e500662fea9ebc7ef863bd01170423511cd0140 (patch)
treeb8f1395030a8b6349cbd7d5bea26a50662c1fbf7 /src/SDL.c
parent22810a9476f476628f3144710a160c7767afb41b (diff)
It's okay to quit things more than once.
Diffstat (limited to 'src/SDL.c')
-rw-r--r--src/SDL.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/SDL.c b/src/SDL.c
index 619a0c1f87..0f6de9fe61 100644
--- a/src/SDL.c
+++ b/src/SDL.c
@@ -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];
}