comparison src/video/dummy/SDL_nullvideo.c @ 235:dde0af58db4b

Removed a warning
author Sam Lantinga <slouken@libsdl.org>
date Wed, 07 Nov 2001 17:58:41 +0000
parents a90b13a831cf
children e8157fcb3114
comparison
equal deleted inserted replaced
234:1af4be6a73cd 235:dde0af58db4b
66 static void DUMMY_VideoQuit(_THIS); 66 static void DUMMY_VideoQuit(_THIS);
67 67
68 /* Hardware surface functions */ 68 /* Hardware surface functions */
69 static int DUMMY_AllocHWSurface(_THIS, SDL_Surface *surface); 69 static int DUMMY_AllocHWSurface(_THIS, SDL_Surface *surface);
70 static int DUMMY_LockHWSurface(_THIS, SDL_Surface *surface); 70 static int DUMMY_LockHWSurface(_THIS, SDL_Surface *surface);
71 static int DUMMY_FlipHWSurface(_THIS, SDL_Surface *surface);
72 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface); 71 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface);
73 static void DUMMY_FreeHWSurface(_THIS, SDL_Surface *surface); 72 static void DUMMY_FreeHWSurface(_THIS, SDL_Surface *surface);
74 73
75 /* etc. */ 74 /* etc. */
76 static void DUMMY_UpdateRects(_THIS, int numrects, SDL_Rect *rects); 75 static void DUMMY_UpdateRects(_THIS, int numrects, SDL_Rect *rects);
222 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface) 221 static void DUMMY_UnlockHWSurface(_THIS, SDL_Surface *surface)
223 { 222 {
224 return; 223 return;
225 } 224 }
226 225
227 static int DUMMY_FlipHWSurface(_THIS, SDL_Surface *surface)
228 {
229 return(0);
230 }
231
232 static void DUMMY_UpdateRects(_THIS, int numrects, SDL_Rect *rects) 226 static void DUMMY_UpdateRects(_THIS, int numrects, SDL_Rect *rects)
233 { 227 {
234 /* do nothing. */ 228 /* do nothing. */
235 } 229 }
236 230