+++ /dev/null
-#include "InitSDL.h"
-
-#include <stdexcept>
-
-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();
-}
-
-}