mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 06:15:44 +00:00
what happens when I put checkTexture back?
This commit is contained in:
parent
ea9b37d682
commit
30977c3082
2 changed files with 9 additions and 0 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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; }
|
||||
|
||||
|
|
Loading…
Reference in a new issue