From 7f9761fef47a314ef60fd970b0137631d9b859a2 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 16 Nov 2011 21:13:39 -0500 Subject: [PATCH] Removed unused static functions. --- src/video/vgl/SDL_vglvideo.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/video/vgl/SDL_vglvideo.c b/src/video/vgl/SDL_vglvideo.c index 1cd7229bb..027f48b8f 100644 --- a/src/video/vgl/SDL_vglvideo.c +++ b/src/video/vgl/SDL_vglvideo.c @@ -61,7 +61,6 @@ static void VGL_FreeHWSurface(_THIS, SDL_Surface *surface); /* Misc function */ static VGLMode ** VGLListModes(int depth, int mem_model); -static void VGLWaitRetrace(void); /* VGL driver bootstrap functions */ @@ -307,7 +306,6 @@ SDL_Rect **VGL_ListModes(_THIS, SDL_PixelFormat *format, Uint32 flags) /* 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 void VGL_UnlockHWSurface(_THIS, SDL_Surface *surface) 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 @@ static void VGL_DirectUpdate(_THIS, int numrects, SDL_Rect *rects) 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 @@ VGLListModes(int depth, int mem_model) return modes; } - -static void -VGLWaitRetrace(void) -{ - while (!(inb(0x3DA) & 8)); - while (inb(0x3DA) & 8); -} -