src/video/SDL_sysvideo.h
branchSDL-1.3
changeset 1725 98a3207ddde8
parent 1720 a1ebb17f9c52
child 1729 0ef52d56e8bb
     1.1 --- a/src/video/SDL_sysvideo.h	Thu Jul 06 07:17:11 2006 +0000
     1.2 +++ b/src/video/SDL_sysvideo.h	Fri Jul 07 08:05:39 2006 +0000
     1.3 @@ -131,6 +131,7 @@
     1.4   */
     1.5  struct SDL_VideoDisplay
     1.6  {
     1.7 +    int max_display_modes;
     1.8      int num_display_modes;
     1.9      SDL_DisplayMode *display_modes;
    1.10      SDL_DisplayMode desktop_mode;
    1.11 @@ -178,7 +179,7 @@
    1.12       * should have their data updated accordingly, including the
    1.13       * display surfaces associated with them.
    1.14       */
    1.15 -    int (*SetDisplayMode) (_THIS, const SDL_DisplayMode * mode);
    1.16 +    int (*SetDisplayMode) (_THIS, SDL_DisplayMode * mode);
    1.17  
    1.18      /* Sets the color entries of the display palette to those in 'colors'.
    1.19         The return value is 0 if all entries could be set properly or -1
    1.20 @@ -410,8 +411,8 @@
    1.21  extern SDL_VideoDevice *SDL_GetVideoDevice();
    1.22  extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);
    1.23  extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display);
    1.24 -extern void SDL_AddDisplayMode(int displayIndex,
    1.25 -                               const SDL_DisplayMode * mode);
    1.26 +extern SDL_bool SDL_AddDisplayMode(int displayIndex,
    1.27 +                                   const SDL_DisplayMode * mode);
    1.28  extern void SDL_AddRenderDriver(int displayIndex,
    1.29                                  const SDL_RenderDriver * driver);
    1.30