修复CCTexturePVR创建GLTexture时没有使用GLStateCache导致下一个Sprite::draw的时候可能会使用不正确的纹理

This commit is contained in:
bmanGH 2013-07-23 02:23:40 +08:00
parent 4d3cb57718
commit b983830bec
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)