mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-04 21:17:55 +00:00
Switch [panel] drawing from scaling to tiling.
This commit is contained in:
parent
3709f49e0a
commit
3bdeb8c345
@ -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…
x
Reference in New Issue
Block a user