From 57f6b3d1eeb2691c25836ee3a15826f9cbc54083 Mon Sep 17 00:00:00 2001 From: Pavel Rojtberg Date: Sun, 22 Sep 2024 01:09:32 +0200 Subject: [PATCH] fix compilation with Ogre 1.12 --- source/PagedGeometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/PagedGeometry.cpp b/source/PagedGeometry.cpp index a843994..e8e68b4 100644 --- a/source/PagedGeometry.cpp +++ b/source/PagedGeometry.cpp @@ -74,7 +74,7 @@ m_nRenderQueue(queue) auto& mgr = HighLevelGpuProgramManager::getSingleton(); for(auto lang : {"glsl", "hlsl", "glsles"}) { - if(mgr.isSyntaxSupported(lang)) + if(mgr.isLanguageSupported(lang)) { shaderLanguage = lang; break;