commit | 926340cf56c9a2d21008d050a4e0f1390cf648bf | [log] [tgz] |
---|---|---|
author | Mathias Agopian <mathias@google.com> | Wed Apr 27 18:57:33 2011 -0700 |
committer | Mathias Agopian <mathias@google.com> | Wed Apr 27 18:58:46 2011 -0700 |
tree | a639bdb00ff61894130ecddd3d5a3bfb4e12892b | |
parent | f076aa5594840baf70fd78a00d1152bd13dfb80c [diff] |
Fix uninitialized variable in SurfaceTexture Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793
diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index 15a176e..2619629 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp
@@ -100,6 +100,7 @@ } sp<ISurfaceComposer> composer(ComposerService::getComposerService()); mGraphicBufferAlloc = composer->createGraphicBufferAlloc(); + mNextCrop.makeInvalid(); } SurfaceTexture::~SurfaceTexture() {