comparison 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
comparison
equal deleted inserted replaced
1724:6c63fc2bd986 1725:98a3207ddde8
48 48
49 #define DUMMYVID_DRIVER_NAME "dummy" 49 #define DUMMYVID_DRIVER_NAME "dummy"
50 50
51 /* Initialization/Query functions */ 51 /* Initialization/Query functions */
52 static int DUMMY_VideoInit(_THIS); 52 static int DUMMY_VideoInit(_THIS);
53 static int DUMMY_SetDisplayMode(_THIS, const SDL_DisplayMode * mode); 53 static int DUMMY_SetDisplayMode(_THIS, SDL_DisplayMode * mode);
54 static void DUMMY_VideoQuit(_THIS); 54 static void DUMMY_VideoQuit(_THIS);
55 55
56 /* DUMMY driver bootstrap functions */ 56 /* DUMMY driver bootstrap functions */
57 57
58 static int 58 static int
118 /* We're done! */ 118 /* We're done! */
119 return 0; 119 return 0;
120 } 120 }
121 121
122 static int 122 static int
123 DUMMY_SetDisplayMode(_THIS, const SDL_DisplayMode * mode) 123 DUMMY_SetDisplayMode(_THIS, SDL_DisplayMode * mode)
124 { 124 {
125 SDL_CurrentDisplay.current_mode = *mode;
126 return 0; 125 return 0;
127 } 126 }
128 127
129 void 128 void
130 DUMMY_VideoQuit(_THIS) 129 DUMMY_VideoQuit(_THIS)