Merge "Fix uninitialized variable in SurfaceTexture"
This commit is contained in:
commit
61bac329b8
@ -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
Block a user