and another one...

This commit is contained in:
aap 2020-05-07 12:37:32 +02:00
parent 3398ec6a16
commit 661feeabf4
2 changed files with 2 additions and 2 deletions

View File

@ -143,7 +143,7 @@ MatFX::getEffects(const Material *m)
}
MatFX*
MatFX::get(Material *m)
MatFX::get(const Material *m)
{
return *PLUGINOFFSET(MatFX*, m, matFXGlobals.materialOffset);
}

View File

@ -129,7 +129,7 @@ struct MatFX
static void setEffects(Material *m, uint32 flags);
static uint32 getEffects(const Material *m);
static MatFX *get(Material *m);
static MatFX *get(const Material *m);
int32 getEffectIndex(uint32 type);
// Bump
void setBumpTexture(Texture *t);