Add missing overrides to fix compiler warnings

This commit is contained in:
ndren 2022-04-30 15:53:53 +01:00 committed by GitHub
parent ba0396e93d
commit 24594ce226
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -73,13 +73,13 @@ public:
virtual const core::aabbox3d<f32>& getTransformedBillboardBoundingBox(const irr::scene::ICameraSceneNode* camera) _IRR_OVERRIDE_;
//! Get the amount of mesh buffers.
virtual u32 getMeshBufferCount() const
virtual u32 getMeshBufferCount() const _IRR_OVERRIDE_
{
return Buffer ? 1 : 0;
}
//! Get pointer to the mesh buffer.
virtual IMeshBuffer* getMeshBuffer(u32 nr) const
virtual IMeshBuffer* getMeshBuffer(u32 nr) const _IRR_OVERRIDE_
{
if ( nr == 0 )
return Buffer;