summaryrefslogtreecommitdiffstats
path: root/include/gui
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2013-04-22 11:24:02 +0200
committerMathias Agopian <mathias@google.com>2013-04-22 11:24:02 +0200
commite692ab9a6be63193c5b52a6562d85d06c40463b8 (patch)
tree6882c21347ec6c1fc515fc51af9d222a3393ea76 /include/gui
parentbd1153382e7a9d89922bea999a52ca21d46d6caa (diff)
downloadframeworks_native-e692ab9a6be63193c5b52a6562d85d06c40463b8.zip
frameworks_native-e692ab9a6be63193c5b52a6562d85d06c40463b8.tar.gz
frameworks_native-e692ab9a6be63193c5b52a6562d85d06c40463b8.tar.bz2
fix uninitialized variables in GLConsumer
mDefaultWidth, mDefaultHeight and mCurrentScallingMode are now initialized to the same default value that BufferQueue uses. Change-Id: I0d4da2022b06419d12745716d8ddbd48c8869953
Diffstat (limited to 'include/gui')
-rw-r--r--include/gui/GLConsumer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/gui/GLConsumer.h b/include/gui/GLConsumer.h
index 3b8dd77..f0a75dc 100644
--- a/include/gui/GLConsumer.h
+++ b/include/gui/GLConsumer.h
@@ -323,7 +323,7 @@ private:
uint32_t mCurrentTransform;
// mCurrentScalingMode is the scaling mode for the current texture. It gets
- // set to each time updateTexImage is called.
+ // set each time updateTexImage is called.
uint32_t mCurrentScalingMode;
// mCurrentFence is the fence received from BufferQueue in updateTexImage.