Removed unused static functions. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Wed, 16 Nov 2011 21:13:39 -0500
branchSDL-1.2
changeset 6084 2085129e7eab
parent 6083 5f85dce0d4fc
child 6087 185f8588deaa
Removed unused static functions.
src/video/vgl/SDL_vglvideo.c
--- a/src/video/vgl/SDL_vglvideo.c	Wed Nov 16 21:12:47 2011 -0500
+++ b/src/video/vgl/SDL_vglvideo.c	Wed Nov 16 21:13:39 2011 -0500
@@ -61,7 +61,6 @@
 
 /* Misc function */
 static VGLMode ** VGLListModes(int depth, int mem_model);
-static void VGLWaitRetrace(void);
 
 /* VGL driver bootstrap functions */
 
@@ -307,7 +306,6 @@
 
 /* Various screen update functions available */
 static void VGL_DirectUpdate(_THIS, int numrects, SDL_Rect *rects);
-static void VGL_BankedUpdate(_THIS, int numrects, SDL_Rect *rects);
 
 SDL_Surface *VGL_SetVideoMode(_THIS, SDL_Surface *current,
 			      int width, int height, int bpp, Uint32 flags)
@@ -421,7 +419,6 @@
 
 static int VGL_FlipHWSurface(_THIS, SDL_Surface *surface)
 {
-//	VGLWaitRetrace();
 	if (VGLPanScreen(VGLDisplay, 0, flip_page * surface->h) < 0) {
 		SDL_SetError("VGLPanSreen() failed");
                 return -1;
@@ -438,11 +435,6 @@
 	return;
 }
 
-static void VGL_BankedUpdate(_THIS, int numrects, SDL_Rect *rects)
-{
-	return;
-}
-
 int VGL_SetColors(_THIS, int firstcolor, int ncolors, SDL_Color *colors)
 {
         int i;
@@ -630,11 +622,3 @@
 
   return modes;
 }
-
-static void
-VGLWaitRetrace(void)
-{
-  while (!(inb(0x3DA) & 8));
-  while (inb(0x3DA) & 8);
-}
-