소스 검색

It's okay to quit things more than once.

Sam Lantinga 12 년 전
부모
커밋
ade13fd741
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/SDL.c

+ 0 - 2
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];
     }