瀏覽代碼

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