Merge remote-tracking branch 'temeliak/fix_non_hd_option'

This commit is contained in:
auria.mg 2016-12-28 20:39:20 -05:00
commit 875bfad197

View File

@ -742,7 +742,7 @@ void Material::setMaterialProperties(video::SMaterial *m, scene::IMeshBuffer* m
{
ITexture *tex;
ITexture *glossytex;
if (m_gloss_map.size() > 0)
if (m_gloss_map.size() > 0 && UserConfigParams::m_dynamic_lights)
{
glossytex = irr_driver->getTexture(m_gloss_map);
}