Mostly cleaned up warnings with -Wmissing-prototypes
This commit is contained in:
parent
b46edfbdc6
commit
95fbd50b15
23 changed files with 88 additions and 39 deletions
|
@ -304,7 +304,7 @@ SDL_GetCurrentVideoDriver()
|
|||
}
|
||||
|
||||
SDL_VideoDevice *
|
||||
SDL_GetVideoDevice()
|
||||
SDL_GetVideoDevice(void)
|
||||
{
|
||||
return _this;
|
||||
}
|
||||
|
@ -717,16 +717,6 @@ SDL_SetDisplayModeForDisplay(SDL_VideoDisplay * display, const SDL_DisplayMode *
|
|||
return 0;
|
||||
}
|
||||
|
||||
int
|
||||
SDL_SetDisplayMode(const SDL_DisplayMode * mode)
|
||||
{
|
||||
if (!_this) {
|
||||
SDL_UninitializedVideo();
|
||||
return -1;
|
||||
}
|
||||
return SDL_SetDisplayModeForDisplay(SDL_CurrentDisplay, mode);
|
||||
}
|
||||
|
||||
int
|
||||
SDL_SetWindowDisplayMode(SDL_Window * window, const SDL_DisplayMode * mode)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue