src/video/windx5/SDL_dx5video.c
branchSDL-1.2
changeset 5988 bf927e528813
parent 4248 a9c6e65c1416
child 6137 4720145f848b
     1.1 --- a/src/video/windx5/SDL_dx5video.c	Thu Oct 13 16:35:25 2011 -0400
     1.2 +++ b/src/video/windx5/SDL_dx5video.c	Thu Oct 13 16:38:05 2011 -0400
     1.3 @@ -1034,7 +1034,8 @@
     1.4  				int width, int height, int bpp, Uint32 flags)
     1.5  {
     1.6  	SDL_Surface *video;
     1.7 -	int prev_w, prev_h;
     1.8 +	int prev_w = -1;
     1.9 +	int prev_h = -1;
    1.10  	HRESULT result;
    1.11  	DWORD sharemode;
    1.12  	DWORD style;