diff --git a/components/myguiplatform/myguirendermanager.hpp b/components/myguiplatform/myguirendermanager.hpp index 54e6468ea2..9c6146a221 100644 --- a/components/myguiplatform/myguirendermanager.hpp +++ b/components/myguiplatform/myguirendermanager.hpp @@ -74,7 +74,11 @@ namespace osgMyGUI return static_cast(MyGUI::RenderManager::getInstancePtr()); } - bool checkTexture(MyGUI::ITexture* _texture); + bool checkTexture(MyGUI::ITexture* _texture) + #if MYGUI_DEBUG_MODE == 1 /* needed workaround for MyGUI 3.4.2 */ + override + #endif + ; /** @see RenderManager::getViewSize */ const MyGUI::IntSize& getViewSize() const override { return mViewSize; }