Explorar el Código

Merge pull request #791 from Ragora/bugfix-sdl-fallthrough

BugFix: Correct invalid fall-through behavior in sdlInputManager.cpp.
Brian Roberts hace 3 años
padre
commit
e896e663d4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      Engine/source/platformSDL/sdlInputManager.cpp

+ 1 - 0
Engine/source/platformSDL/sdlInputManager.cpp

@@ -303,6 +303,7 @@ void SDLInputManager::processEvent(SDL_Event &evt)
    {
       onSDLDeviceDisconnected_callback(evt.jdevice.which);
       closeJoystick(evt.jdevice.which);
+      break;
    }
 
    case SDL_CONTROLLERAXISMOTION: