Преглед изворни кода

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;
     }