Commit abe0cf6e authored by hybrid's avatar hybrid

addColor fix by etcaptor.

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@778 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 125e3330
...@@ -1312,10 +1312,10 @@ io::IAttributes* CNullDriver::createAttributesFromMaterial(const video::SMateria ...@@ -1312,10 +1312,10 @@ io::IAttributes* CNullDriver::createAttributesFromMaterial(const video::SMateria
delete [] materialNames; delete [] materialNames;
attr->addColorf("Ambient", material.AmbientColor); attr->addColor("Ambient", material.AmbientColor);
attr->addColorf("Diffuse", material.DiffuseColor); attr->addColor("Diffuse", material.DiffuseColor);
attr->addColorf("Emissive", material.EmissiveColor); attr->addColor("Emissive", material.EmissiveColor);
attr->addColorf("Specular", material.SpecularColor); attr->addColor("Specular", material.SpecularColor);
attr->addFloat("Shininess", material.Shininess); attr->addFloat("Shininess", material.Shininess);
attr->addFloat("Param1", material.MaterialTypeParam); attr->addFloat("Param1", material.MaterialTypeParam);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment