diff src/video/dummy/SDL_nullvideo.c @ 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
line wrap: on
line diff
--- a/src/video/dummy/SDL_nullvideo.c	Thu Jul 06 07:17:11 2006 +0000
+++ b/src/video/dummy/SDL_nullvideo.c	Fri Jul 07 08:05:39 2006 +0000
@@ -50,7 +50,7 @@
 
 /* Initialization/Query functions */
 static int DUMMY_VideoInit(_THIS);
-static int DUMMY_SetDisplayMode(_THIS, const SDL_DisplayMode * mode);
+static int DUMMY_SetDisplayMode(_THIS, SDL_DisplayMode * mode);
 static void DUMMY_VideoQuit(_THIS);
 
 /* DUMMY driver bootstrap functions */
@@ -120,9 +120,8 @@
 }
 
 static int
-DUMMY_SetDisplayMode(_THIS, const SDL_DisplayMode * mode)
+DUMMY_SetDisplayMode(_THIS, SDL_DisplayMode * mode)
 {
-    SDL_CurrentDisplay.current_mode = *mode;
     return 0;
 }