Commit 1d3cfa24 authored by Eric Bruneton's avatar Eric Bruneton
Browse files

fixed bug with maxAnisotropy attribute handling in XML texture resources

git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/ork/trunk@12 28599a00-4e59-401b-b2d8-d34d4661a6c9
parent e57b565f
......@@ -444,7 +444,7 @@ ORK_API void getParameters(const ptr<ResourceDescriptor> desc, const TiXmlElemen
if (e->Attribute("anisotropy") != NULL) {
float a;
Resource::getFloatParameter(desc, e, "anisotropy", &a);
params.lodBias(a);
params.maxAnisotropyEXT(a);
}
v = e->Attribute("compare");
......
Supports Markdown
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