eglfs_viv_wl: Clean up the wl_display
Task-number: QTBUG-74879 Change-Id: Idb39a39a10bccb1822bdb80343fbe1b5c92560e9 Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
This commit is contained in:
parent
eaf20420f8
commit
0bdded64ac
@ -66,6 +66,11 @@ void QEglFSVivWaylandIntegration::platformInit()
|
|||||||
mScreenSize.setWidth(width);
|
mScreenSize.setWidth(width);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void QEglFSVivWaylandIntegration::platformDestroy()
|
||||||
|
{
|
||||||
|
wl_display_destroy(mWaylandDisplay);
|
||||||
|
}
|
||||||
|
|
||||||
QSize QEglFSVivWaylandIntegration::screenSize() const
|
QSize QEglFSVivWaylandIntegration::screenSize() const
|
||||||
{
|
{
|
||||||
return mScreenSize;
|
return mScreenSize;
|
||||||
|
@ -49,6 +49,7 @@ class QEglFSVivWaylandIntegration : public QEglFSDeviceIntegration
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void platformInit() override;
|
void platformInit() override;
|
||||||
|
void platformDestroy() override;
|
||||||
QSize screenSize() const override;
|
QSize screenSize() const override;
|
||||||
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
|
EGLNativeWindowType createNativeWindow(QPlatformWindow *window, const QSize &size, const QSurfaceFormat &format) override;
|
||||||
void destroyNativeWindow(EGLNativeWindowType window) override;
|
void destroyNativeWindow(EGLNativeWindowType window) override;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user