From 9ab3a0c44b9068e477db9cb4fdfabcf1323b4b1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miloslav=20=C4=8C=C3=AD=C5=BE?= Date: Fri, 10 Nov 2017 11:16:25 +0100 Subject: [PATCH] set cubemap width differently --- apps/openmw/mwrender/renderingmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/openmw/mwrender/renderingmanager.cpp b/apps/openmw/mwrender/renderingmanager.cpp index a19af48226..dbf62a7847 100644 --- a/apps/openmw/mwrender/renderingmanager.cpp +++ b/apps/openmw/mwrender/renderingmanager.cpp @@ -780,7 +780,7 @@ namespace MWRender int cubeWidth = Settings::Manager::tryGetInt("s360 cubemap size","Video",screenshotWidth / 2); if (mapping == SphericalScreenshot::MAPPING_CUBEMAP) - cubeWidth = screenshotWidth / 6; // the image will consist of 6 cube sides in a row + screenshotWidth = cubeWidth * 6; // the image will consist of 6 cube sides in a row SphericalScreenshot s(cubeWidth);