summaryrefslogtreecommitdiff
path: root/games/openmw/files/patch-components_resource_imagemanager.hpp
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2025-06-12 20:16:18 +0200
committerDima Panov <fluffy@FreeBSD.org>2025-06-17 03:30:43 +0300
commit13a36f14c8a5aab2b19352e04ab52d3ce971f927 (patch)
treeee6bebbeb8564bfb6370a87c87f2ebb32493858c /games/openmw/files/patch-components_resource_imagemanager.hpp
parentsysutils/UEFITool: remove qt5 flavour (diff)
games/openmw: fix build against recent mygui and libc++ 19
PR: 284814
Diffstat (limited to 'games/openmw/files/patch-components_resource_imagemanager.hpp')
-rw-r--r--games/openmw/files/patch-components_resource_imagemanager.hpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/openmw/files/patch-components_resource_imagemanager.hpp b/games/openmw/files/patch-components_resource_imagemanager.hpp
new file mode 100644
index 000000000000..b007c3cf7770
--- /dev/null
+++ b/games/openmw/files/patch-components_resource_imagemanager.hpp
@@ -0,0 +1,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();
+