mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-05 09:26:25 +00:00
Made it more clear that the values being compared are floats
This commit is contained in:
@@ -545,7 +545,7 @@ SDL_SendMouseWheel(SDL_Window * window, SDL_MouseID mouseID, float x, float y, S
|
||||
SDL_SetMouseFocus(window);
|
||||
}
|
||||
|
||||
if (x == 0. && y == 0.) {
|
||||
if (x == 0.0f && y == 0.0f) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user