1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 04:15:33 +00:00

what happens when I put checkTexture back?

This commit is contained in:
Bret Curtis 2023-08-05 13:02:48 +02:00
parent ea9b37d682
commit 30977c3082
2 changed files with 9 additions and 0 deletions

View file

@ -550,6 +550,13 @@ namespace osgMyGUI
return &item->second;
}
bool RenderManager::checkTexture(MyGUI::ITexture* _texture)
{
// We support external textures that aren't registered via this manager, so can't implement this method
// sensibly.
return true;
}
void RenderManager::registerShader(
const std::string& _shaderName, const std::string& _vertexProgramFile, const std::string& _fragmentProgramFile)
{

View file

@ -74,6 +74,8 @@ namespace osgMyGUI
return static_cast<RenderManager*>(MyGUI::RenderManager::getInstancePtr());
}
bool checkTexture(MyGUI::ITexture* _texture);
/** @see RenderManager::getViewSize */
const MyGUI::IntSize& getViewSize() const override { return mViewSize; }