From 0594f581e8e6e48cee4b6a70bc2dc5fb01021e25 Mon Sep 17 00:00:00 2001 From: Bret Curtis Date: Sat, 5 Aug 2023 15:15:13 +0200 Subject: [PATCH] clang tidy --- .../myguiplatform/myguirendermanager.hpp | 23 +++++++++++++------ 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/components/myguiplatform/myguirendermanager.hpp b/components/myguiplatform/myguirendermanager.hpp index 9c6146a221..9a53b06c06 100644 --- a/components/myguiplatform/myguirendermanager.hpp +++ b/components/myguiplatform/myguirendermanager.hpp @@ -75,16 +75,22 @@ namespace osgMyGUI } bool checkTexture(MyGUI::ITexture* _texture) - #if MYGUI_DEBUG_MODE == 1 /* needed workaround for MyGUI 3.4.2 */ - override - #endif - ; +#if MYGUI_DEBUG_MODE == 1 /* needed workaround for MyGUI 3.4.2 */ + override +#endif + ; /** @see RenderManager::getViewSize */ - const MyGUI::IntSize& getViewSize() const override { return mViewSize; } + const MyGUI::IntSize& getViewSize() const override + { + return mViewSize; + } /** @see RenderManager::getVertexFormat */ - MyGUI::VertexColourType getVertexFormat() const override { return mVertexFormat; } + MyGUI::VertexColourType getVertexFormat() const override + { + return mVertexFormat; + } /** @see RenderManager::isFormatSupported */ bool isFormatSupported(MyGUI::PixelFormat format, MyGUI::TextureUsage usage) override; @@ -117,7 +123,10 @@ namespace osgMyGUI void setInjectState(osg::StateSet* stateSet); /** @see IRenderTarget::getInfo */ - const MyGUI::RenderTargetInfo& getInfo() const override { return mInfo; } + const MyGUI::RenderTargetInfo& getInfo() const override + { + return mInfo; + } void setViewSize(int width, int height) override;