Print SDL error message if window creation fails

This commit is contained in:
Jonas Kulla 2014-07-14 06:22:49 +02:00
parent 35dbaab0c3
commit c5f18ee535
1 changed files with 1 additions and 1 deletions

View File

@ -234,7 +234,7 @@ int main(int argc, char *argv[])
if (!win)
{
Debug() << "Error creating window";
Debug() << "Error creating window:" << SDL_GetError();
return 0;
}