summaryrefslogtreecommitdiffstats
path: root/src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h')
-rw-r--r--src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h b/src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h
index ccdca7613..23b856e93 100644
--- a/src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h
+++ b/src/hardwareintegration/compositor/xcomposite-glx/xcompositeglxintegration.h
@@ -68,9 +68,9 @@ public:
PFNGLXRELEASETEXIMAGEEXTPROC m_glxReleaseTexImageEXT;
private:
- Display *mDisplay;
+ Display *mDisplay = nullptr;
int mScreen;
- XCompositeHandler *mHandler;
+ XCompositeHandler *mHandler = nullptr;
};
class XCompositeGLXClientBuffer : public QtWayland::ClientBuffer
@@ -86,9 +86,9 @@ public:
}
private:
- QOpenGLTexture *m_texture;
+ QOpenGLTexture *m_texture = nullptr;
XCompositeGLXClientBufferIntegration *m_integration;
- GLXPixmap m_glxPixmap;
+ GLXPixmap m_glxPixmap = 0;
};
QT_END_NAMESPACE