Removed unused static functions.

--HG--
branch : SDL-1.2
This commit is contained in:
Ryan C. Gordon
2011-11-16 21:13:39 -05:00
parent da55cd8cea
commit 81db8b96df

View File

@@ -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);
}