From 3215181e9285e34c2bef788d36b50a9ec9ef87ec Mon Sep 17 00:00:00 2001 From: Johan Klokkhammer Helsing Date: Fri, 25 Oct 2019 12:33:57 +0200 Subject: Remove unused variable WaylandEglClientBufferIntegrationPrivate::valid Change-Id: I489267d8378cbcaf7ae7cd8eee48d4e2a71ca91a Reviewed-by: Pier Luigi Fiorini --- .../compositor/wayland-egl/waylandeglclientbufferintegration.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp b/src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp index fe35b92c..036d1785 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; } -- cgit v1.2.1