Print SDL error message if window creation fails
This commit is contained in:
parent
35dbaab0c3
commit
c5f18ee535
|
@ -234,7 +234,7 @@ int main(int argc, char *argv[])
|
|||
|
||||
if (!win)
|
||||
{
|
||||
Debug() << "Error creating window";
|
||||
Debug() << "Error creating window:" << SDL_GetError();
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue