Initialize QFunctionPointer to Q_NULLPTR

REVIEW: 125756
This commit is contained in:
Dāvis Mosāns 2015-10-22 16:23:51 +03:00
parent c1065ccf39
commit 39f8db95c2

View File

@ -76,10 +76,15 @@ WindowThumbnail::WindowThumbnail(QQuickItem *parent)
, m_texture(0)
#if HAVE_GLX
, m_glxPixmap(XCB_PIXMAP_NONE)
, m_bindTexImage(Q_NULLPTR)
, m_releaseTexImage(Q_NULLPTR)
#endif // HAVE_GLX
#if HAVE_EGL
, m_eglFunctionsResolved(false)
, m_image(EGL_NO_IMAGE_KHR)
, m_eglCreateImageKHR(Q_NULLPTR)
, m_eglDestroyImageKHR(Q_NULLPTR)
, m_glEGLImageTargetTexture2DOES(Q_NULLPTR)
#endif // HAVE_EGL
#endif
{