diff --git a/src/SDLWrapper.cpp b/src/SDLWrapper.cpp index 999dbca..86feec6 100644 --- a/src/SDLWrapper.cpp +++ b/src/SDLWrapper.cpp @@ -4,7 +4,9 @@ using namespace sc::gui; SDLWrapper::SDLWrapper() { - SDL_Init(SDL_INIT_VIDEO); + if (SDL_Init(SDL_INIT_VIDEO)) { + SDL_Log("SDL_Init(): %s", SDL_GetError()); + } } SDLWrapper::~SDLWrapper() {