X-Git-Url: http://git.localhorst.tv/?p=space.git;a=blobdiff_plain;f=src%2Fsdl%2FInitSDL.cpp;fp=src%2Fsdl%2FInitSDL.cpp;h=0000000000000000000000000000000000000000;hp=0676dfbc5c43178e609d80f513e4a2d801de55a1;hb=61c2d30a60d586cbe63885885c6a373c7713af1e;hpb=08d0e47634e1632c96ebe3308535a86f5e625b40 diff --git a/src/sdl/InitSDL.cpp b/src/sdl/InitSDL.cpp deleted file mode 100644 index 0676dfb..0000000 --- a/src/sdl/InitSDL.cpp +++ /dev/null @@ -1,20 +0,0 @@ -#include "InitSDL.h" - -#include - -using std::runtime_error; - - -namespace space { - -InitSDL::InitSDL(Uint32 flags) { - if (SDL_Init(flags) != 0) { - throw runtime_error("failed to initialize SDL"); - } -} - -InitSDL::~InitSDL() { - SDL_Quit(); -} - -}