Browse Source

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

Fixes Bugzilla #3946.
Ryan C. Gordon 8 năm trước cách đây
mục cha
commit
5cc46f3d30
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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;
     }