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

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

Fix uninitialized variable in SurfaceTexture

Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793
parent 2cb34a41
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -100,6 +100,7 @@ SurfaceTexture::SurfaceTexture(GLuint tex) :
    }
    sp<ISurfaceComposer> composer(ComposerService::getComposerService());
    mGraphicBufferAlloc = composer->createGraphicBufferAlloc();
    mNextCrop.makeInvalid();
}

SurfaceTexture::~SurfaceTexture() {