DisplayDevice: initialize mDisplayToken correctly

mDisplayToken should be initialized by displayToken.

Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4
This commit is contained in:
Chih-Wei Huang 2013-01-07 17:33:56 +08:00
parent fdd8551fe8
commit 27e2562868

View File

@ -77,6 +77,7 @@ DisplayDevice::DisplayDevice(
EGLConfig config)
: mFlinger(flinger),
mType(type), mHwcDisplayId(-1),
mDisplayToken(displayToken),
mNativeWindow(nativeWindow),
mFramebufferSurface(framebufferSurface),
mDisplay(EGL_NO_DISPLAY),