Graphics/Material: Fix reflection mode not being copied

This commit is contained in:
Lynix
2018-08-25 22:41:05 +02:00
parent 933cb64488
commit a3a4ed89b8
2 changed files with 4 additions and 1 deletions

View File

@@ -72,7 +72,8 @@ namespace Nz
*/
inline Material::Material(const Material& material) :
RefCounted(),
Resource(material)
Resource(material),
m_reflectionMode(ReflectionMode_Skybox)
{
Copy(material);
}