summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_resource_imagemanager.hpp
blob: b007c3cf7770c8b465c956601f0f7434bf7a7dc7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- components/resource/imagemanager.hpp.orig	2023-08-08 09:23:20 UTC
+++ components/resource/imagemanager.hpp
@@ -28,7 +28,7 @@ namespace Resource
 
         /// Create or retrieve an Image
         /// Returns the dummy image if the given image is not found.
-        osg::ref_ptr<osg::Image> getImage(const std::string& filename, bool disableFlip = false);
+        osg::ref_ptr<osg::Image> getImage(std::string_view filename, bool disableFlip = false);
 
         osg::Image* getWarningImage();