mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 15:29:55 +00:00
Merge pull request #3019 from akortunov/warnfix
Fix override warning with MyGUI 3.4
This commit is contained in:
commit
4e1ca82e47
1 changed files with 7 additions and 1 deletions
|
@ -106,10 +106,16 @@ public:
|
|||
|
||||
bool checkTexture(MyGUI::ITexture* _texture);
|
||||
|
||||
// setViewSize() is a part of MyGUI::RenderManager interface since 3.4.0 release
|
||||
#if MYGUI_VERSION < MYGUI_DEFINE_VERSION(3,4,0)
|
||||
void setViewSize(int width, int height);
|
||||
#else
|
||||
void setViewSize(int width, int height) override;
|
||||
#endif
|
||||
|
||||
/*internal:*/
|
||||
|
||||
void collectDrawCalls();
|
||||
void setViewSize(int width, int height);
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue