diff src/video/SDL_sysvideo.h @ 1725:98a3207ddde8 SDL-1.3

Implemented Win32 video mode support
author Sam Lantinga <slouken@libsdl.org>
date Fri, 07 Jul 2006 08:05:39 +0000
parents a1ebb17f9c52
children 0ef52d56e8bb
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h	Thu Jul 06 07:17:11 2006 +0000
+++ b/src/video/SDL_sysvideo.h	Fri Jul 07 08:05:39 2006 +0000
@@ -131,6 +131,7 @@
  */
 struct SDL_VideoDisplay
 {
+    int max_display_modes;
     int num_display_modes;
     SDL_DisplayMode *display_modes;
     SDL_DisplayMode desktop_mode;
@@ -178,7 +179,7 @@
      * should have their data updated accordingly, including the
      * display surfaces associated with them.
      */
-    int (*SetDisplayMode) (_THIS, const SDL_DisplayMode * mode);
+    int (*SetDisplayMode) (_THIS, SDL_DisplayMode * mode);
 
     /* Sets the color entries of the display palette to those in 'colors'.
        The return value is 0 if all entries could be set properly or -1
@@ -410,8 +411,8 @@
 extern SDL_VideoDevice *SDL_GetVideoDevice();
 extern int SDL_AddBasicVideoDisplay(const SDL_DisplayMode * desktop_mode);
 extern int SDL_AddVideoDisplay(const SDL_VideoDisplay * display);
-extern void SDL_AddDisplayMode(int displayIndex,
-                               const SDL_DisplayMode * mode);
+extern SDL_bool SDL_AddDisplayMode(int displayIndex,
+                                   const SDL_DisplayMode * mode);
 extern void SDL_AddRenderDriver(int displayIndex,
                                 const SDL_RenderDriver * driver);