mirror of https://github.com/axmolengine/axmol.git
revert alpha map minFilter
This commit is contained in:
parent
c3cc8b917c
commit
60bed4f461
|
@ -47,7 +47,7 @@ Terrain * Terrain::create(TerrainData ¶meter, CrackFixedType fixedType)
|
|||
terrain->_alphaMap->initWithImage(image);
|
||||
texParam.wrapS = GL_CLAMP_TO_EDGE;
|
||||
texParam.wrapT = GL_CLAMP_TO_EDGE;
|
||||
texParam.minFilter = GL_LINEAR_MIPMAP_LINEAR;
|
||||
texParam.minFilter = GL_LINEAR;
|
||||
texParam.magFilter = GL_LINEAR;
|
||||
terrain->_alphaMap->setTexParameters(texParam);
|
||||
delete image;
|
||||
|
|
Loading…
Reference in New Issue