Skip to content

Commit

Permalink
remove useless sdl event case
Browse files Browse the repository at this point in the history
  • Loading branch information
laamaa committed Jul 5, 2021
1 parent 01a0e8a commit e04229e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions input.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,10 +292,6 @@ void handle_sdl_events() {

switch (event.type) {

case SDL_WINDOWEVENT_RESIZED:
key = (input_msg_s){special, msg_reset_display};
break;

// Reinitialize game controllers on controller add/remove/remap
case SDL_CONTROLLERDEVICEADDED:
case SDL_CONTROLLERDEVICEREMOVED:
Expand Down

0 comments on commit e04229e

Please sign in to comment.