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

Commit a47c0d29 authored by Conley Owens's avatar Conley Owens Committed by Android Git Automerger
Browse files

am 58e4a5e2: Merge "Fixed to draw texture when loadTexture() is called at first time"

* commit '58e4a5e2':
  Fixed to draw texture when loadTexture() is called at first time
parents 520dd927 58e4a5e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -186,7 +186,7 @@ status_t TextureManager::loadTexture(Texture* texture,
    if (texture->name == -1UL) {
    if (texture->name == -1UL) {
        status_t err = initTexture(texture);
        status_t err = initTexture(texture);
        LOGE_IF(err, "loadTexture failed in initTexture (%s)", strerror(err));
        LOGE_IF(err, "loadTexture failed in initTexture (%s)", strerror(err));
        return err;
        if (err != NO_ERROR) return err;
    }
    }


    if (texture->target != Texture::TEXTURE_2D)
    if (texture->target != Texture::TEXTURE_2D)