Просмотр исходного кода

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

Fixes Bugzilla #3946.
Ryan C. Gordon 8 лет назад
Родитель
Сommit
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;
     }