Ignore:
Timestamp:
Oct 31, 2011, 9:19:05 AM (8 years ago)
Author:
sam
Message:

core: write a generic application class.

Location:
trunk/src/platform
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/platform/ps3/ps3app.cpp

    r865 r1040  
    103103    Video::Setup(res);
    104104    Audio::Setup(2);
     105
     106    /* Autoreleased objects */
     107    new Ps3Input();
    105108#endif
    106109}
  • trunk/src/platform/sdl/sdlapp.cpp

    r865 r1040  
    2020#include "lolgl.h"
    2121#include "platform/sdl/sdlapp.h"
     22#include "platform/sdl/sdlinput.h"
    2223
    2324namespace lol
     
    6869    Video::Setup(ivec2(video->w, video->h));
    6970    Audio::Setup(2);
     71
     72    /* Autoreleased objects */
     73    new SdlInput();
    7074#endif
    7175}
Note: See TracChangeset for help on using the changeset viewer.