Address a compiler warning.

Alex Szpakowski 2017-08-15 18:29:47 -03:00
parent c7b4f2b92e
commit 2e4248ed44
2 changed files with 2 additions and 2 deletions

View File

@ -403,7 +403,7 @@ extern void *SDL_GetDisplayDriverData( int displayIndex );
extern void SDL_GL_DeduceMaxSupportedESProfile(int* major, int* minor);
extern int SDL_RecreateWindow(SDL_Window * window, Uint32 flags);
extern SDL_bool SDL_HasWindows();
extern SDL_bool SDL_HasWindows(void);
extern void SDL_OnWindowShown(SDL_Window * window);
extern void SDL_OnWindowHidden(SDL_Window * window);

View File

@ -1609,7 +1609,7 @@ SDL_RecreateWindow(SDL_Window * window, Uint32 flags)
}
SDL_bool
SDL_HasWindows()
SDL_HasWindows(void)
{
return (_this && _this->windows != NULL);
}