Fix display of high-res background images

This commit is contained in:
QwertyChouskie 2019-07-08 19:22:41 -07:00
parent 62f5aa8e82
commit c34a68896d

View File

@ -372,7 +372,7 @@ void Skin::drawBgImage()
const int clipped_x_space = (texture_w - screen_w);
dest = core::recti(-clipped_x_space/2, 0,
screen_w+clipped_x_space/2, texture_h);
screen_w+clipped_x_space/2, screen_h);
}
irr_driver->getVideoDriver()->enableMaterial2D();