Skip to content

Commit

Permalink
Fixing SDL3
Browse files Browse the repository at this point in the history
  • Loading branch information
atsb committed Aug 7, 2024
1 parent 4522456 commit 25ecbc3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,8 @@ static void handle_keypress(int key, int unicode, int press)
void CheckForWindowsMessages()
{
SDL_Event event;
int x, y, buttons, wantmouse;
float x, y, wantmouse;
int buttons;

GotAnyKey = 0;
DebouncedGotAnyKey = 0;
Expand Down Expand Up @@ -1273,7 +1274,8 @@ void CheckForWindowsMessages()
}

if (GotJoystick) {
int numbuttons;
float numbuttons;
int x;

SDL_UpdateJoysticks();

Expand Down

0 comments on commit 25ecbc3

Please sign in to comment.