include/SDL_compat.h
changeset 3034 0e821769fc51
parent 2862 929e7dd10031
child 3040 62d4992e5a92
--- a/include/SDL_compat.h	Mon Jan 12 22:36:12 2009 +0000
+++ b/include/SDL_compat.h	Tue Jan 13 03:53:22 2009 +0000
@@ -228,8 +228,7 @@
 extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width,
                                             int height,
                                             int bpp, Uint32 flags);
-extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(SDL_PixelFormat * format,
-                                                 Uint32 flags);
+extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(const SDL_PixelFormat * format, Uint32 flags);
 extern DECLSPEC SDL_Surface *SDLCALL SDL_SetVideoMode(int width,
                                                       int height,
                                                       int bpp, Uint32 flags);