Home
last modified time | relevance | path

Searched refs:helper_surface (Results 1 – 1 of 1) sorted by relevance

/dports/games/sdlpop/SDLPoP-1.22/src/
H A Dseg009.c3054 …SDL_Surface* helper_surface = SDL_CreateRGBSurface(0, dest_rect->w, dest_rect->h, 24, 0xFF, 0xFF<<… in blit_xor() local
3055 if (helper_surface == NULL) { in blit_xor()
3059 SDL_Surface* image_24 = SDL_ConvertSurface(image, helper_surface->format, 0); in blit_xor()
3067 if (SDL_BlitSurface(target_surface, dest_rect, helper_surface, &dest_rect2) != 0) { in blit_xor()
3075 if (SDL_LockSurface(helper_surface) != 0) { in blit_xor()
3079 int size = helper_surface->h * helper_surface->pitch; in blit_xor()
3082 byte *p_dest = (byte*) helper_surface->pixels; in blit_xor()
3090 SDL_UnlockSurface(helper_surface); in blit_xor()
3092 if (SDL_BlitSurface(helper_surface, src_rect, target_surface, dest_rect) != 0) { in blit_xor()
3097 SDL_FreeSurface(helper_surface); in blit_xor()