diff options
| author | 2011-04-27 18:57:33 -0700 | |
|---|---|---|
| committer | 2011-04-27 18:58:46 -0700 | |
| commit | 926340cf56c9a2d21008d050a4e0f1390cf648bf (patch) | |
| tree | a639bdb00ff61894130ecddd3d5a3bfb4e12892b /libs/gui/SurfaceTexture.cpp | |
| parent | f076aa5594840baf70fd78a00d1152bd13dfb80c (diff) | |
Fix uninitialized variable in SurfaceTexture
Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793
Diffstat (limited to 'libs/gui/SurfaceTexture.cpp')
| -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 15a176e9def9..2619629be8da 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() { |