fix build
return bool
This commit is contained in:
parent
9fba7c43c5
commit
82222a3ecf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user