mirror of https://github.com/aap/librw.git
just a const
This commit is contained in:
parent
4e97f4f862
commit
3398ec6a16
|
@ -134,7 +134,7 @@ MatFX::setEffects(Material *mat, uint32 type)
|
||||||
}
|
}
|
||||||
|
|
||||||
uint32
|
uint32
|
||||||
MatFX::getEffects(Material *m)
|
MatFX::getEffects(const Material *m)
|
||||||
{
|
{
|
||||||
MatFX *fx = *PLUGINOFFSET(MatFX*, m, matFXGlobals.materialOffset);
|
MatFX *fx = *PLUGINOFFSET(MatFX*, m, matFXGlobals.materialOffset);
|
||||||
if(fx)
|
if(fx)
|
||||||
|
|
|
@ -128,7 +128,7 @@ struct MatFX
|
||||||
uint32 type;
|
uint32 type;
|
||||||
|
|
||||||
static void setEffects(Material *m, uint32 flags);
|
static void setEffects(Material *m, uint32 flags);
|
||||||
static uint32 getEffects(Material *m);
|
static uint32 getEffects(const Material *m);
|
||||||
static MatFX *get(Material *m);
|
static MatFX *get(Material *m);
|
||||||
int32 getEffectIndex(uint32 type);
|
int32 getEffectIndex(uint32 type);
|
||||||
// Bump
|
// Bump
|
||||||
|
|
Loading…
Reference in New Issue