Merge "fix a typo that prevented glTexImage2D codepath to work" into gingerbread
This commit is contained in:
committed by
Android (Google) Code Review
commit
6a73368be4
@ -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);
|
||||
|
Reference in New Issue
Block a user