diff --git a/components/myguiplatform/myguirendermanager.hpp b/components/myguiplatform/myguirendermanager.hpp index 1e82bc0df..72abebd18 100644 --- a/components/myguiplatform/myguirendermanager.hpp +++ b/components/myguiplatform/myguirendermanager.hpp @@ -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); }; }