Made it more clear that the values being compared are floats
This commit is contained in:
1 parent
f9192ab8fc
commit
898644d18e
2 files changed
+2
-2
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 == 0. && y == 0.) {
|
||||
if (x == 0.0f && y == 0.0f) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user