1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 04:15:33 +00:00

clang tidy

This commit is contained in:
Bret Curtis 2023-08-05 15:15:13 +02:00
parent 17313a8899
commit 0594f581e8

View file

@ -75,16 +75,22 @@ namespace osgMyGUI
}
bool checkTexture(MyGUI::ITexture* _texture)
#if MYGUI_DEBUG_MODE == 1 /* needed workaround for MyGUI 3.4.2 */
#if MYGUI_DEBUG_MODE == 1 /* needed workaround for MyGUI 3.4.2 */
override
#endif
#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;