diff options
| author | 2011-03-11 17:03:45 -0800 | |
|---|---|---|
| committer | 2011-03-11 17:03:45 -0800 | |
| commit | 248ce94c57fc610228fc3bef7b7ee034d780f978 (patch) | |
| tree | d5f4fa8d0b5a9705aea3d46926eb372b6ebc6228 /services/surfaceflinger/Layer.cpp | |
| parent | 86ad55028be46a4cfbe821f27729fcebf045ccc8 (diff) | |
| parent | ccf94df600f452189fcb6bad5600e1af180695ad (diff) | |
Merge "Fix initialization order warning."
Diffstat (limited to 'services/surfaceflinger/Layer.cpp')
| -rw-r--r-- | services/surfaceflinger/Layer.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/services/surfaceflinger/Layer.cpp b/services/surfaceflinger/Layer.cpp index 4afe90517826..7a69097bd976 100644 --- a/services/surfaceflinger/Layer.cpp +++ b/services/surfaceflinger/Layer.cpp @@ -52,6 +52,7 @@ template <typename T> inline T min(T a, T b) { Layer::Layer(SurfaceFlinger* flinger, DisplayID display, const sp<Client>& client) : LayerBaseClient(flinger, display, client), + mFormat(PIXEL_FORMAT_NONE), mGLExtensions(GLExtensions::getInstance()), mNeedsBlending(true), mNeedsDithering(false), @@ -59,7 +60,7 @@ Layer::Layer(SurfaceFlinger* flinger, mProtectedByApp(false), mTextureManager(), mBufferManager(mTextureManager), - mWidth(0), mHeight(0), mFormat(PIXEL_FORMAT_NONE), + mWidth(0), mHeight(0), mNeedsScaling(false), mFixedSize(false) { } |