summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-10-25 12:33:57 +0200
committerJohan Klokkhammer Helsing <johan.helsing@qt.io>2019-10-28 11:35:31 +0100
commit3215181e9285e34c2bef788d36b50a9ec9ef87ec (patch)
tree30b6970809da0ba42566a67510de0c81b92113f7
parent605a52efb0e7c9cec947c7eb2e6dcf83564801ea (diff)
Remove unused variable WaylandEglClientBufferIntegrationPrivate::valid
Change-Id: I489267d8378cbcaf7ae7cd8eee48d4e2a71ca91a Reviewed-by: Pier Luigi Fiorini <pierluigi.fiorini@liri.io>
-rw-r--r--src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp
index fe35b92cd..036d17852 100644
--- a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp
+++ b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp
@@ -174,7 +174,6 @@ public:
void deleteOrphanedTextures();
EGLDisplay egl_display = EGL_NO_DISPLAY;
- bool valid = false;
bool display_bound = false;
::wl_display *wlDisplay = nullptr;
QOffscreenSurface *offscreenSurface = nullptr;
@@ -453,7 +452,6 @@ bool WaylandEglClientBufferIntegration::initializeHardware(struct wl_display *di
d->funcs = new QEGLStreamConvenience;
d->funcs->initialize(d->egl_display);
- d->valid = true;
return true;
}