mirror of https://github.com/encounter/SDL.git
mouse: remove assert for unimplemented platforms (thanks, tomwardio!).
Fixes Bugzilla #3946.
This commit is contained in:
parent
bbb22a75c8
commit
5cc46f3d30
|
@ -646,7 +646,6 @@ SDL_GetGlobalMouseState(int *x, int *y)
|
||||||
*x = *y = 0;
|
*x = *y = 0;
|
||||||
|
|
||||||
if (!mouse->GetGlobalMouseState) {
|
if (!mouse->GetGlobalMouseState) {
|
||||||
SDL_assert(0 && "This should really be implemented for every target.");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue