Searched refs:shrink_picture (Results 1 – 1 of 1) sorted by relevance
56 SDL_Surface *shrink_picture; in ShrinkPicture() local66 if ((shrink_picture=shrinkSurface (picture, factorx, factory))!=NULL) { in ShrinkPicture()67 dest.x = (screen->w - shrink_picture->w)/2;; in ShrinkPicture()68 dest.y = (screen->h - shrink_picture->h)/2; in ShrinkPicture()69 dest.w = shrink_picture->w; in ShrinkPicture()70 dest.h = shrink_picture->h; in ShrinkPicture()71 if ( SDL_BlitSurface(shrink_picture, NULL, screen, &dest) < 0 ) { in ShrinkPicture()75 SDL_FreeSurface(shrink_picture); in ShrinkPicture()
Completed in 2 milliseconds