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

Commit 1dfad01c authored by Naomi Luis's avatar Naomi Luis Committed by Steve Kondik
Browse files

Re-create texture if the EGLImage size changed.

CRs-fixed: 226175,225541
parent e82f5dc6
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -513,7 +513,7 @@ status_t LayerBuffer::BufferSource::initTempBuffer() const
            glDeleteTextures(1, &mTexture.name);
            eglDestroyImageKHR(dpy, mTexture.image);
            Texture defaultTexture;
            mTexture = defaultTexture;
            mTexture.name = mLayer.createTexture();
            mTempGraphicBuffer.clear();
        } else {
            // we're good, we have an EGLImageKHR and it's (still) the