mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 17:09:19 +02:00
reformat: parameters can be made const
This commit is contained in:
@@ -56,7 +56,7 @@ struct opengl_material : public IMaterial {
|
||||
{
|
||||
return shadow_rank;
|
||||
}
|
||||
virtual texture_handle GetTexture(int slot) const override
|
||||
virtual texture_handle GetTexture(const int slot) const override
|
||||
{
|
||||
return textures[slot];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user