diff options
| author | 2011-02-04 13:46:38 -0800 | |
|---|---|---|
| committer | 2011-02-04 13:46:38 -0800 | |
| commit | f73935bb0da395f5126b67837e815d237dcae5ac (patch) | |
| tree | a9a95f71d01f143d37906e7ff3435a7cc7b1ce0d | |
| parent | b4049e7f248706072071fbf0df8820d3b3cdcbf6 (diff) | |
Initialize the SurfaceTexture transform fields.
Change-Id: I2c25f15949253a1dbe493fef440e5ef118c40e71
related-bug: 3426067
| -rw-r--r-- | libs/gui/SurfaceTexture.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libs/gui/SurfaceTexture.cpp b/libs/gui/SurfaceTexture.cpp index 3c4b565d46..d6cc8ce034 100644 --- a/libs/gui/SurfaceTexture.cpp +++ b/libs/gui/SurfaceTexture.cpp @@ -77,7 +77,8 @@ static void mtxMul(float out[16], const float a[16], const float b[16]); SurfaceTexture::SurfaceTexture(GLuint tex) : mBufferCount(MIN_BUFFER_SLOTS), mCurrentTexture(INVALID_BUFFER_SLOT), - mLastQueued(INVALID_BUFFER_SLOT), mTexName(tex) { + mCurrentTransform(0), mLastQueued(INVALID_BUFFER_SLOT), + mLastQueuedTransform(0), mNextTransform(0), mTexName(tex) { LOGV("SurfaceTexture::SurfaceTexture"); for (int i = 0; i < NUM_BUFFER_SLOTS; i++) { mSlots[i].mEglImage = EGL_NO_IMAGE_KHR; |