Parcourir la source

Properly initialise SDL in the input system's constructor.

legacy
Sam Hocevar sam il y a 15 ans
Parent
révision
172a256c89
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. +2
    -1
      src/sdlinput.cpp

+ 2
- 1
src/sdlinput.cpp Voir le fichier

@@ -29,8 +29,9 @@ private:

SdlInput::SdlInput(Game *game)
{
data = new SdlInputData();
SDL_Init(SDL_INIT_TIMER);

data = new SdlInputData();
data->game = game;
}



Chargement…
Annuler
Enregistrer