mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 08:28:29 +00:00
mouse: remove assert for unimplemented platforms (thanks, tomwardio!).
Fixes Bugzilla #3946.
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user