src/video/windx5/SDL_dx5video.c
branchSDL-1.2
changeset 5988 bf927e528813
parent 4248 a9c6e65c1416
child 6137 4720145f848b
equal deleted inserted replaced
5987:825e1072eac6 5988:bf927e528813
  1032 
  1032 
  1033 SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current,
  1033 SDL_Surface *DX5_SetVideoMode(_THIS, SDL_Surface *current,
  1034 				int width, int height, int bpp, Uint32 flags)
  1034 				int width, int height, int bpp, Uint32 flags)
  1035 {
  1035 {
  1036 	SDL_Surface *video;
  1036 	SDL_Surface *video;
  1037 	int prev_w, prev_h;
  1037 	int prev_w = -1;
       
  1038 	int prev_h = -1;
  1038 	HRESULT result;
  1039 	HRESULT result;
  1039 	DWORD sharemode;
  1040 	DWORD sharemode;
  1040 	DWORD style;
  1041 	DWORD style;
  1041 	const DWORD directstyle =
  1042 	const DWORD directstyle =
  1042 			(WS_POPUP);
  1043 			(WS_POPUP);