Added missing error return in test program.

Philipp Wiesemann 2016-04-14 21:10:08 +02:00
parent 72dc8784b3
commit b53007b0c8
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ int main(int argc, char **argv)
if (SDL_Init(SDL_INIT_VIDEO) < 0) {
SDL_Log("SDL_Init(SDL_INIT_VIDEO) failed: %s", SDL_GetError());
return 1;
}
total = SDL_GetNumVideoDisplays();