Skip to content

Commit c34a688

Browse files
Fix display of high-res background images
1 parent 62f5aa8 commit c34a688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/guiengine/skin.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ void Skin::drawBgImage()
372372
const int clipped_x_space = (texture_w - screen_w);
373373

374374
dest = core::recti(-clipped_x_space/2, 0,
375-
screen_w+clipped_x_space/2, texture_h);
375+
screen_w+clipped_x_space/2, screen_h);
376376
}
377377

378378
irr_driver->getVideoDriver()->enableMaterial2D();

0 commit comments

Comments
 (0)