Merged 2007-01-07T13:22:45Z!patrick_x99@hotmail.com into 1.2 branch
This commit is contained in:
parent
cc8fa3284d
commit
3f6c2ff5e9
1 changed files with 2 additions and 0 deletions
|
@ -128,6 +128,8 @@ void menu::imgsel_style::draw_row_bg(menu& menu_ref, const size_t row_index, con
|
|||
//draw scaled background image
|
||||
//scale image each time (to prevent loss of quality)
|
||||
bg_cache_.surf = scale_surface(img_map_["background"], rect.w, rect.h);
|
||||
bg_cache_.width = rect.w;
|
||||
bg_cache_.height = rect.h;
|
||||
}
|
||||
SDL_Rect clip = rect;
|
||||
menu_ref.video().blit_surface(rect.x,rect.y,bg_cache_.surf,NULL,&clip);
|
||||
|
|
Loading…
Add table
Reference in a new issue