1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 09:45:40 +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

@ -81,10 +81,16 @@ namespace osgMyGUI
; ;
/** @see RenderManager::getViewSize */ /** @see RenderManager::getViewSize */
const MyGUI::IntSize& getViewSize() const override { return mViewSize; } const MyGUI::IntSize& getViewSize() const override
{
return mViewSize;
}
/** @see RenderManager::getVertexFormat */ /** @see RenderManager::getVertexFormat */
MyGUI::VertexColourType getVertexFormat() const override { return mVertexFormat; } MyGUI::VertexColourType getVertexFormat() const override
{
return mVertexFormat;
}
/** @see RenderManager::isFormatSupported */ /** @see RenderManager::isFormatSupported */
bool isFormatSupported(MyGUI::PixelFormat format, MyGUI::TextureUsage usage) override; bool isFormatSupported(MyGUI::PixelFormat format, MyGUI::TextureUsage usage) override;
@ -117,7 +123,10 @@ namespace osgMyGUI
void setInjectState(osg::StateSet* stateSet); void setInjectState(osg::StateSet* stateSet);
/** @see IRenderTarget::getInfo */ /** @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; void setViewSize(int width, int height) override;