src/video/SDL_bmp.c
branchSDL-1.2
changeset 5988 bf927e528813
parent 4241 d3a210342761
child 6137 4720145f848b
equal deleted inserted replaced
5987:825e1072eac6 5988:bf927e528813
    46 
    46 
    47 
    47 
    48 SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc)
    48 SDL_Surface * SDL_LoadBMP_RW (SDL_RWops *src, int freesrc)
    49 {
    49 {
    50 	SDL_bool was_error;
    50 	SDL_bool was_error;
    51 	long fp_offset;
    51 	long fp_offset = 0;
    52 	int bmpPitch;
    52 	int bmpPitch;
    53 	int i, pad;
    53 	int i, pad;
    54 	SDL_Surface *surface;
    54 	SDL_Surface *surface;
    55 	Uint32 Rmask;
    55 	Uint32 Rmask;
    56 	Uint32 Gmask;
    56 	Uint32 Gmask;