DisplayDevice: initialize mDisplayToken correctly
mDisplayToken should be initialized by displayToken. Change-Id: I0a5fec1f1732200a32d10b1575239dceffe6dee4
This commit is contained in:
parent
fdd8551fe8
commit
27e2562868
@ -77,6 +77,7 @@ DisplayDevice::DisplayDevice(
|
|||||||
EGLConfig config)
|
EGLConfig config)
|
||||||
: mFlinger(flinger),
|
: mFlinger(flinger),
|
||||||
mType(type), mHwcDisplayId(-1),
|
mType(type), mHwcDisplayId(-1),
|
||||||
|
mDisplayToken(displayToken),
|
||||||
mNativeWindow(nativeWindow),
|
mNativeWindow(nativeWindow),
|
||||||
mFramebufferSurface(framebufferSurface),
|
mFramebufferSurface(framebufferSurface),
|
||||||
mDisplay(EGL_NO_DISPLAY),
|
mDisplay(EGL_NO_DISPLAY),
|
||||||
|
Loading…
Reference in New Issue
Block a user