diff options
author | Chih-Wei Huang <cwhuang@android-x86.org> | 2013-01-07 17:33:56 +0800 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2013-04-18 05:42:05 +0200 |
commit | b64d6704a6cd1b5aee1431d7d4b77c8cab8c780b (patch) | |
tree | 184288e48408c63028ebcd067955a00b36e0f546 | |
parent | 0309f00908d2ed191de7336816c07ae3b469f9aa (diff) | |
download | frameworks_native-b64d6704a6cd1b5aee1431d7d4b77c8cab8c780b.zip frameworks_native-b64d6704a6cd1b5aee1431d7d4b77c8cab8c780b.tar.gz frameworks_native-b64d6704a6cd1b5aee1431d7d4b77c8cab8c780b.tar.bz2 |
DisplayDevice: initialize mDisplayToken correctly
mDisplayToken should be initialized by displayToken.
Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4
-rw-r--r-- | services/surfaceflinger/DisplayDevice.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/services/surfaceflinger/DisplayDevice.cpp b/services/surfaceflinger/DisplayDevice.cpp index 395402d..a6b51a9 100644 --- a/services/surfaceflinger/DisplayDevice.cpp +++ b/services/surfaceflinger/DisplayDevice.cpp @@ -80,6 +80,7 @@ DisplayDevice::DisplayDevice( EGLConfig config) : mFlinger(flinger), mType(type), mHwcDisplayId(-1), + mDisplayToken(displayToken), mNativeWindow(nativeWindow), mFramebufferSurface(framebufferSurface), mDisplay(EGL_NO_DISPLAY), |