summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-apps_openmw_mwgui_windowmanagerimp.cpp
blob: 6aa09505859f2f3bbdda5f96584001aa4b078384 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- apps/openmw/mwgui/windowmanagerimp.cpp.orig	2023-08-08 09:23:20 UTC
+++ apps/openmw/mwgui/windowmanagerimp.cpp
@@ -2148,7 +2148,7 @@ namespace MWGui
             ResourceImageSetPointerFix* imgSetPointer = resource->castType<ResourceImageSetPointerFix>(false);
             if (!imgSetPointer)
                 continue;
-            std::string tex_name = imgSetPointer->getImageSet()->getIndexInfo(0,0).texture;
+            auto tex_name = imgSetPointer->getImageSet()->getIndexInfo(0,0).texture;
 
             osg::ref_ptr<osg::Image> image = mResourceSystem->getImageManager()->getImage(tex_name);