fix build

return bool
This commit is contained in:
Marco Martin 2016-06-15 16:22:45 +02:00
parent 9fba7c43c5
commit 82222a3ecf

View File

@ -296,7 +296,7 @@ bool WindowThumbnail::xcbWindowToTextureEGL(WindowTextureNode *textureNode)
resolveEGLFunctions();
}
if (QByteArray((char *)glGetString(GL_RENDERER)).contains("llvmpipe")) {
return Q_NULLPTR;
return false;
}
if (!m_eglCreateImageKHR || !m_eglDestroyImageKHR || !m_glEGLImageTargetTexture2DOES) {
return false;