Fixed server only build
This commit is contained in:
parent
f2e2ebb259
commit
6599ceddec
@ -1011,6 +1011,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
|
||||
{
|
||||
m->MaterialType = video::EMT_TRANSPARENT_ALPHA_CHANNEL_REF;
|
||||
|
||||
#ifndef SERVER_ONLY
|
||||
// A hack that makes the grass more bright in legacy pipeline, so that
|
||||
// it looks more similar to our shader-based pipeline
|
||||
if (!CVS->isGLSL())
|
||||
@ -1020,6 +1021,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
|
||||
m->EmissiveColor = video::SColor(255, 150, 150, 150);
|
||||
m->SpecularColor = video::SColor(255, 150, 150, 150);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
if (m_disable_z_write)
|
||||
|
Loading…
x
Reference in New Issue
Block a user