Merge "fix a typo that prevented glTexImage2D codepath to work" into gingerbread

This commit is contained in:
Mathias Agopian
2010-08-13 16:29:48 -07:00
committed by Android (Google) Code Review

View File

@ -190,7 +190,7 @@ status_t TextureManager::loadTexture(Texture* texture,
return err;
}
if (texture->target != GL_TEXTURE_2D)
if (texture->target != Texture::TEXTURE_2D)
return INVALID_OPERATION;
glBindTexture(GL_TEXTURE_2D, texture->name);