소스 검색

mouse: remove assert for unimplemented platforms (thanks, tomwardio!).

Fixes Bugzilla #3946.
Ryan C. Gordon 8 년 전
부모
커밋
5cc46f3d30
1개의 변경된 파일0개의 추가작업 그리고 1개의 파일을 삭제
  1. 0 1
      src/events/SDL_mouse.c

+ 0 - 1
src/events/SDL_mouse.c

@@ -646,7 +646,6 @@ SDL_GetGlobalMouseState(int *x, int *y)
     *x = *y = 0;
 
     if (!mouse->GetGlobalMouseState) {
-        SDL_assert(0 && "This should really be implemented for every target.");
         return 0;
     }