Fix build

This commit is contained in:
Vlad Zahorodnii 2021-05-20 16:25:13 +03:00
parent 793cc5fa25
commit bc22b9e59e
2 changed files with 12 additions and 7 deletions

View file

@ -438,4 +438,14 @@ void DrmGpu::removeOutput(DrmOutput *output)
} }
} }
AbstractEglBackend *DrmGpu::eglBackend() const
{
return m_eglBackend;
}
void DrmGpu::setEglBackend(AbstractEglBackend *eglBackend)
{
m_eglBackend = eglBackend;
}
} }

View file

@ -71,9 +71,8 @@ public:
return m_eglDisplay; return m_eglDisplay;
} }
AbstractEglBackend *eglBackend() { AbstractEglBackend *eglBackend() const;
return m_eglBackend; void setEglBackend(AbstractEglBackend *eglBackend);
}
void setGbmDevice(gbm_device *d) { void setGbmDevice(gbm_device *d) {
m_gbmDevice = d; m_gbmDevice = d;
@ -83,10 +82,6 @@ public:
m_eglDisplay = display; m_eglDisplay = display;
} }
void setEglBackend(AbstractEglBackend *eglBackend) {
m_eglBackend = eglBackend;
}
/** /**
* Returns the clock from which presentation timestamps are sourced. The returned value * Returns the clock from which presentation timestamps are sourced. The returned value
* can be either CLOCK_MONOTONIC or CLOCK_REALTIME. * can be either CLOCK_MONOTONIC or CLOCK_REALTIME.