Searched refs:surf_raw (Results 1 – 2 of 2) sorted by relevance
/dports/games/prboom-plus/prboom-plus-2.5.1.3/src/ |
H A D | gl_shadow.c | 77 SDL_Surface *surf_raw; in gld_InitShadows() local 78 surf_raw = SDL_LoadBMP_RW(SDL_RWFromConstMem(W_CacheLumpNum(lump), W_LumpLength(lump)), 1); in gld_InitShadows() 81 fmt = *surf_raw->format; in gld_InitShadows() 85 surf = SDL_ConvertSurface(surf_raw, &fmt, surf_raw->flags); in gld_InitShadows() 86 SDL_FreeSurface(surf_raw); in gld_InitShadows()
|
H A D | gl_detail.c | 743 SDL_Surface *surf_raw; in gld_LoadDetailName() local 746 surf_raw = IMG_Load_RW(SDL_RWFromConstMem(W_CacheLumpNum(lump), W_LumpLength(lump)), 1); in gld_LoadDetailName() 748 surf_raw = SDL_LoadBMP_RW(SDL_RWFromConstMem(W_CacheLumpNum(lump), W_LumpLength(lump)), 1); in gld_LoadDetailName() 753 if (surf_raw) in gld_LoadDetailName() 755 fmt = *surf_raw->format; in gld_LoadDetailName() 758 surf = SDL_ConvertSurface(surf_raw, &fmt, surf_raw->flags); in gld_LoadDetailName() 759 SDL_FreeSurface(surf_raw); in gld_LoadDetailName()
|