Skip to content

Commit

Permalink
Removed unused static functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 17, 2011
1 parent ea06f7d commit 7f9761f
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/video/vgl/SDL_vglvideo.c
Expand Up @@ -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 */

Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -630,11 +622,3 @@ VGLListModes(int depth, int mem_model)

return modes;
}

static void
VGLWaitRetrace(void)
{
while (!(inb(0x3DA) & 8));
while (inb(0x3DA) & 8);
}

0 comments on commit 7f9761f

Please sign in to comment.