Switch [panel] drawing from scaling to tiling.
This commit is contained in:
parent
3709f49e0a
commit
3bdeb8c345
1 changed files with 1 additions and 1 deletions
|
@ -1233,7 +1233,7 @@ static void draw_panel(CVideo& video, const theme::panel& panel, std::vector<gui
|
|||
|
||||
if(!surf.null()) {
|
||||
if(surf->w != loc.w || surf->h != loc.h) {
|
||||
surf.assign(scale_surface(surf,loc.w,loc.h));
|
||||
surf.assign(tile_surface(surf,loc.w,loc.h));
|
||||
}
|
||||
|
||||
video.blit_surface(loc.x,loc.y,surf);
|
||||
|
|
Loading…
Add table
Reference in a new issue