From: Siddharth K. <sid...@gm...> - 2011-02-19 23:11:29
|
Hi, /* FIXME this function assumes the background is properly scaled */ > /* Also, it only sets the image for the current resolution, not */ > /* the "other" one. */ > void set_current_bkg(SDL_Surface* new_bkg) > This FIXME is *not relevant* since the function set_current_bkg(SDL_Surface* new_bkg) never gets called. This function is called only by RenderTitleScreen() function of titlescreen.c file, and the call happens only when the following condition is true: if(current_bkg()->w != T4K_GetScreen()->w || current_bkg()->h != > T4K_GetScreen()->h) > which is something that would not happen. Can some one verify this? Or correct me if I am wrong. Thanks, Siddharth |