Merge "Fix uninitialized variable in SurfaceTexture"

This commit is contained in:
Mathias Agopian 2011-04-27 19:01:01 -07:00 committed by Android (Google) Code Review
commit 61bac329b8

View File

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