Fixed Texture loader not setting shader
Former-commit-id: 9a2e54c28f42a9390ab51d0909c92b7454aba476
This commit is contained in:
parent
7ecc5a7c4c
commit
02275293ee
|
|
@ -35,6 +35,8 @@ namespace
|
||||||
material->SetDiffuseMap(texture.get());
|
material->SetDiffuseMap(texture.get());
|
||||||
texture.release();
|
texture.release();
|
||||||
|
|
||||||
|
material->SetShader(parameters.shaderName);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue