Fix display of high-res background images
This commit is contained in:
parent
62f5aa8e82
commit
c34a68896d
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user