From b9830fc6fda86ae7c335b34ce6dc4155eb14c46b Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Sat, 9 Nov 2024 02:28:38 +0100 Subject: [PATCH] D3D9: GpuProgram - dont use deprecated openResource --- RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp b/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp index 1db0c8b70a3..06ff36aa2c9 100644 --- a/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp +++ b/RenderSystems/Direct3D9/src/OgreD3D9GpuProgram.cpp @@ -148,7 +148,7 @@ namespace Ogre { // find & load source code DataStreamPtr stream = ResourceGroupManager::getSingleton().openResource( - mFilename, mGroup, true, this); + mFilename, mGroup, this); mSource = stream->getAsString(); }