gralloc: Remove ifdef around assignment of perform
* Perform is used for more than HDMI, and without this set on devices that don't have HDMI enabled, crashes result. Change-Id: I9029892a12ab09ffb66b3560f796ffb99ea57460
This commit is contained in:
parent
6107e39aec
commit
1ded1767f9
@ -973,9 +973,7 @@ int fb_device_open(hw_module_t const* module, const char* name,
|
||||
dev->device.setUpdateRect = 0;
|
||||
dev->device.compositionComplete = fb_compositionComplete;
|
||||
dev->device.lockBuffer = fb_lockBuffer;
|
||||
#if defined(HDMI_DUAL_DISPLAY)
|
||||
dev->device.perform = fb_perform;
|
||||
#endif
|
||||
|
||||
private_module_t* m = (private_module_t*)module;
|
||||
status = mapFrameBuffer(m);
|
||||
|
Loading…
Reference in New Issue
Block a user