Added call to gl_clearwin() for filter modes [zinx]

This commit is contained in:
hpsolo
2001-06-04 03:44:21 +00:00
parent 68cf2d88f7
commit 6bfe7fcf77
2 changed files with 8 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ extern Uint8 GUIOn2;
extern unsigned int vidbuffer;
void gl_clearwin();
int gl_start(int width, int height, int req_depth, int FullScreen)
{
Uint32 flags =
@@ -55,6 +57,7 @@ int gl_start(int width, int height, int req_depth, int FullScreen)
return FALSE;
}
gl_clearwin();
SurfaceLocking = SDL_MUSTLOCK(surface);
SDL_WarpMouse(SurfaceX / 4, SurfaceY / 4);