src/video/gem/SDL_gemvideo.c
changeset 921 6126849e59a6
parent 920 bbefeed8134d
child 923 2748679027ff
equal deleted inserted replaced
920:bbefeed8134d 921:6126849e59a6
   667 		} else {
   667 		} else {
   668 			GEM_win_type=0;
   668 			GEM_win_type=0;
   669 			modeflags |= SDL_NOFRAME;
   669 			modeflags |= SDL_NOFRAME;
   670 		}
   670 		}
   671 
   671 
   672 		if (!wind_calc(0, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) {
   672 		if (!wind_calc(WC_BORDER, GEM_win_type, posx, posy, width, height, &x2, &y2, &w2, &h2)) {
   673 			GEM_FreeBuffers(this);
   673 			GEM_FreeBuffers(this);
   674 			SDL_SetError("Can not calculate window attributes\n");
   674 			SDL_SetError("Can not calculate window attributes\n");
   675 			return NULL;
   675 			return NULL;
   676 		}
   676 		}
   677 
   677