Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fixed compiler warning
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/events/SDL_mouse.c
|
@@ -62,7 +62,7 @@ int SDL_MouseInit(void) |
|
|
/* We lost the mouse, so post button up messages for all pressed buttons */ |
|
|
void SDL_ResetMouse(void) |
|
|
{ |
|
|
int i; |
|
|
Uint8 i; |
|
|
for ( i = 0; i < sizeof(SDL_ButtonState)*8; ++i ) { |
|
|
if ( SDL_ButtonState & SDL_BUTTON(i) ) { |
|
|
SDL_PrivateMouseButton(SDL_RELEASED, i, 0, 0); |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.