From c34a68896d4b9b267cfb264995a1ff9db755762a Mon Sep 17 00:00:00 2001 From: QwertyChouskie Date: Mon, 8 Jul 2019 19:22:41 -0700 Subject: [PATCH] Fix display of high-res background images --- src/guiengine/skin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/skin.cpp b/src/guiengine/skin.cpp index ec58c06e4..3904c03a2 100644 --- a/src/guiengine/skin.cpp +++ b/src/guiengine/skin.cpp @@ -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();