commit | cc57d6f8830e533734925f102307df2e6cff6de7 | [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 | b18b69ece9e045f60bc883cab5cb8f12cde13279 | |
parent | 2cb34a41f11d6b9985b1802f620843ca04c80448 [diff] [blame] |
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() {