diff options
author | Mathias Agopian <mathias@google.com> | 2011-04-27 19:01:01 -0700 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2011-04-27 19:01:01 -0700 |
commit | 431d5cf7d0f49de2243aeadc6c5502f2163523b5 (patch) | |
tree | 5e872e6e855e238ff6c4680cd42709c9d4c5c5af /libs | |
parent | 058520e9eea39d01fc4dd640a15cb85090e30e81 (diff) | |
parent | 926340cf56c9a2d21008d050a4e0f1390cf648bf (diff) | |
download | frameworks_base-431d5cf7d0f49de2243aeadc6c5502f2163523b5.zip frameworks_base-431d5cf7d0f49de2243aeadc6c5502f2163523b5.tar.gz frameworks_base-431d5cf7d0f49de2243aeadc6c5502f2163523b5.tar.bz2 |
Merge "Fix uninitialized variable in SurfaceTexture"
Diffstat (limited to 'libs')
-rw-r--r-- | libs/gui/SurfaceTexture.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ SurfaceTexture::SurfaceTexture(GLuint tex) : } sp<ISurfaceComposer> composer(ComposerService::getComposerService()); mGraphicBufferAlloc = composer->createGraphicBufferAlloc(); + mNextCrop.makeInvalid(); } SurfaceTexture::~SurfaceTexture() { |