mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2024-12-20 22:16:49 +01:00
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
Block a user