1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix -Winconsistent-missing-override warnings

This commit is contained in:
Desour 2023-08-29 14:34:13 +02:00 committed by Gregor Parzefall
parent 2ad4c9e0ce
commit 7897450b27
2 changed files with 26 additions and 26 deletions

View file

@ -578,7 +578,7 @@ public:
m_saturation_pixel.set(&saturation, services);
}
void onSetMaterial(const video::SMaterial &material)
void onSetMaterial(const video::SMaterial &material) override
{
video::ITexture *texture = material.getTexture(0);
if (texture) {