summaryrefslogtreecommitdiffstats
path: root/libs
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2011-04-27 19:01:01 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2011-04-27 19:01:01 -0700
commit431d5cf7d0f49de2243aeadc6c5502f2163523b5 (patch)
tree5e872e6e855e238ff6c4680cd42709c9d4c5c5af /libs
parent058520e9eea39d01fc4dd640a15cb85090e30e81 (diff)
parent926340cf56c9a2d21008d050a4e0f1390cf648bf (diff)
downloadframeworks_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.cpp1
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() {