Skip to content

Commit

Permalink
fix compilation woops
Browse files Browse the repository at this point in the history
  • Loading branch information
TurtleP committed Nov 14, 2024
1 parent 6090002 commit a879673
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/modules/event/Event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ namespace love
break;
}
case SUBTYPE_RESIZE:
args.emplace_back(event.resize.width);
args.emplace_back(event.resize.height);
args.emplace_back((double)event.resize.width);
args.emplace_back((double)event.resize.height);
result = new Message("resize", args);
default:
break;
Expand Down Expand Up @@ -260,6 +260,9 @@ namespace love
case TYPE_GAMEPAD:
message = convertJoystickEvent(event, args);
break;
case TYPE_WINDOW:
message = convertWindowEvent(event, args);
break;
default:
break;
}
Expand Down

0 comments on commit a879673

Please sign in to comment.