Lines Matching refs:saveme
568 SDL_SaveBMP_RW(SDL_Surface * saveme, SDL_RWops * dst, int freedst) in SDL_SaveBMP_RW() argument
613 if (saveme->format->BitsPerPixel >= 8 && (saveme->format->Amask || in SDL_SaveBMP_RW()
614 saveme->map->info.flags & SDL_COPY_COLORKEY)) { in SDL_SaveBMP_RW()
619 if (saveme->format->palette && !save32bit) { in SDL_SaveBMP_RW()
620 if (saveme->format->BitsPerPixel == 8) { in SDL_SaveBMP_RW()
621 surface = saveme; in SDL_SaveBMP_RW()
624 saveme->format->BitsPerPixel); in SDL_SaveBMP_RW()
626 } else if ((saveme->format->BitsPerPixel == 24) && !save32bit && in SDL_SaveBMP_RW()
628 (saveme->format->Rmask == 0x00FF0000) && in SDL_SaveBMP_RW()
629 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW()
630 (saveme->format->Bmask == 0x000000FF) in SDL_SaveBMP_RW()
632 (saveme->format->Rmask == 0x000000FF) && in SDL_SaveBMP_RW()
633 (saveme->format->Gmask == 0x0000FF00) && in SDL_SaveBMP_RW()
634 (saveme->format->Bmask == 0x00FF0000) in SDL_SaveBMP_RW()
637 surface = saveme; in SDL_SaveBMP_RW()
648 surface = SDL_ConvertSurface(saveme, &format, 0); in SDL_SaveBMP_RW()
796 if (surface != saveme) { in SDL_SaveBMP_RW()