Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Removed unused static functions.
- Loading branch information
Showing
with
0 additions
and
16 deletions.
-
+0
−16
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); |
|
|
} |
|
|
|