JyCet
Member
hi all,
today in one of my program i use 2 differents pictures to diplay some dark area on the background so my question is if I have only the normal picture of my background how generate another dark picture in a tmp sdl surface?
SDL_Surface *background;
SDL_Surface *background_dark;
background = SDL_LoadBMP("background.bmp");
// Here a programme to generate background_dark from background
... ?
thanks
today in one of my program i use 2 differents pictures to diplay some dark area on the background so my question is if I have only the normal picture of my background how generate another dark picture in a tmp sdl surface?
SDL_Surface *background;
SDL_Surface *background_dark;
background = SDL_LoadBMP("background.bmp");
// Here a programme to generate background_dark from background
... ?
thanks