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

Commit f1c468e4 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

fix a typo that prevented glTexImage2D codepath to work

Change-Id: I36a3bf9d1d2eacd9b14e00b0a6c53bf88bba381c
parent 4a88b522
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);