Merge pull request #3214 from bmanGH/develop

修复CCTexturePVR创建GLTexture时没有使用GLStateCache
This commit is contained in:
minggo 2013-07-23 20:02:56 -07:00
commit aac1a4c78a
1 changed files with 1 additions and 1 deletions

View File

@ -547,7 +547,7 @@ bool TexturePVR::createGLTexture()
glPixelStorei(GL_UNPACK_ALIGNMENT,1);
glGenTextures(1, &_name);
glBindTexture(GL_TEXTURE_2D, _name);
ccGLBindTexture2D(_name);
// Default: Anti alias.
if (_numberOfMipmaps == 1)