Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 998831fb authored by Mathias Agopian's avatar Mathias Agopian Committed by Android (Google) Code Review
Browse files

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

parents f8d7290f f1c468e4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);