mirror of
https://github.com/yawut/SDL.git
synced 2026-04-22 16:47:18 -05:00
Added missing error return in test program.
This commit is contained in:
parent
a640d23413
commit
b47f52e9c8
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user