[backends/hwcomposer] Do not manually cleanup our HwcomposerWindow

It looks like libhybris already deletes the window when we do
eglDestroySurface resulting in a double delete if we also delete it.
This commit is contained in:
Martin Gräßlin 2015-11-13 17:55:02 +01:00
parent eb5ff917f6
commit 3a610ec9f6

View file

@ -42,7 +42,6 @@ EglHwcomposerBackend::EglHwcomposerBackend(HwcomposerBackend *backend)
EglHwcomposerBackend::~EglHwcomposerBackend()
{
cleanup();
delete m_nativeSurface;
}
bool EglHwcomposerBackend::initializeEgl()