Fix uninitialized variable in SurfaceTexture

Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793
This commit is contained in:
Mathias Agopian 2011-04-27 18:57:33 -07:00
parent 2cb34a41f1
commit cc57d6f883
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ SurfaceTexture::SurfaceTexture(GLuint tex) :
}
sp<ISurfaceComposer> composer(ComposerService::getComposerService());
mGraphicBufferAlloc = composer->createGraphicBufferAlloc();
mNextCrop.makeInvalid();
}
SurfaceTexture::~SurfaceTexture() {