Fix warnings detected on Android build
This commit is contained in:
1 parent
a7563bcd3d
commit
252dc85e95
10 files changed
+22
-18
No files matched your search
@@ -545,7 +545,7 @@ SDL_SendMouseWheel(SDL_Window * window, SDL_MouseID mouseID, float x, float y, S
|
||||
SDL_SetMouseFocus(window);
|
||||
}
|
||||
|
||||
if (!x && !y) {
|
||||
if (x == 0. && y == 0.) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user