From cc57d6f8830e533734925f102307df2e6cff6de7 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Wed, 27 Apr 2011 18:57:33 -0700 Subject: [PATCH] Fix uninitialized variable in SurfaceTexture Change-Id: Ie77cdad481fc0522ff5ea3b7e14ce94e07150793 --- libs/gui/SurfaceTexture.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index 15a176e9d..2619629be 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -100,6 +100,7 @@ SurfaceTexture::SurfaceTexture(GLuint tex) : } sp composer(ComposerService::getComposerService()); mGraphicBufferAlloc = composer->createGraphicBufferAlloc(); + mNextCrop.makeInvalid(); } SurfaceTexture::~SurfaceTexture() {