Fix uninitialized variable in SurfaceTexture
Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793
This commit is contained in:
parent
2cb34a41f1
commit
cc57d6f883
|
@ -100,6 +100,7 @@ SurfaceTexture::SurfaceTexture(GLuint tex) :
|
|||
}
|
||||
sp<ISurfaceComposer> composer(ComposerService::getComposerService());
|
||||
mGraphicBufferAlloc = composer->createGraphicBufferAlloc();
|
||||
mNextCrop.makeInvalid();
|
||||
}
|
||||
|
||||
SurfaceTexture::~SurfaceTexture() {
|
||||
|
|
Loading…
Reference in New Issue