Switch [panel] drawing from scaling to tiling.

This commit is contained in:
fendrin 2013-04-29 00:34:20 +02:00
parent 3709f49e0a
commit 3bdeb8c345

View file

@ -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);