Removed unused static functions.
1.1 --- a/src/video/vgl/SDL_vglvideo.c Wed Nov 16 21:12:47 2011 -0500
1.2 +++ b/src/video/vgl/SDL_vglvideo.c Wed Nov 16 21:13:39 2011 -0500
1.3 @@ -61,7 +61,6 @@
1.4
1.5 /* Misc function */
1.6 static VGLMode ** VGLListModes(int depth, int mem_model);
1.7 -static void VGLWaitRetrace(void);
1.8
1.9 /* VGL driver bootstrap functions */
1.10
1.11 @@ -307,7 +306,6 @@
1.12
1.13 /* Various screen update functions available */
1.14 static void VGL_DirectUpdate(_THIS, int numrects, SDL_Rect *rects);
1.15 -static void VGL_BankedUpdate(_THIS, int numrects, SDL_Rect *rects);
1.16
1.17 SDL_Surface *VGL_SetVideoMode(_THIS, SDL_Surface *current,
1.18 int width, int height, int bpp, Uint32 flags)
1.19 @@ -421,7 +419,6 @@
1.20
1.21 static int VGL_FlipHWSurface(_THIS, SDL_Surface *surface)
1.22 {
1.23 -// VGLWaitRetrace();
1.24 if (VGLPanScreen(VGLDisplay, 0, flip_page * surface->h) < 0) {
1.25 SDL_SetError("VGLPanSreen() failed");
1.26 return -1;
1.27 @@ -438,11 +435,6 @@
1.28 return;
1.29 }
1.30
1.31 -static void VGL_BankedUpdate(_THIS, int numrects, SDL_Rect *rects)
1.32 -{
1.33 - return;
1.34 -}
1.35 -
1.36 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
1.37 {
1.38 int i;
1.39 @@ -630,11 +622,3 @@
1.40
1.41 return modes;
1.42 }
1.43 -
1.44 -static void
1.45 -VGLWaitRetrace(void)
1.46 -{
1.47 - while (!(inb(0x3DA) & 8));
1.48 - while (inb(0x3DA) & 8);
1.49 -}
1.50 -