1
0
Fork 0
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:
Bret Curtis 2020-10-18 12:00:56 +02:00 committed by GitHub
commit 4e1ca82e47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);
};
}