fix build
return bool
This commit is contained in:
parent
9fba7c43c5
commit
82222a3ecf
@ -296,7 +296,7 @@ bool WindowThumbnail::xcbWindowToTextureEGL(WindowTextureNode *textureNode)
|
|||||||
resolveEGLFunctions();
|
resolveEGLFunctions();
|
||||||
}
|
}
|
||||||
if (QByteArray((char *)glGetString(GL_RENDERER)).contains("llvmpipe")) {
|
if (QByteArray((char *)glGetString(GL_RENDERER)).contains("llvmpipe")) {
|
||||||
return Q_NULLPTR;
|
return false;
|
||||||
}
|
}
|
||||||
if (!m_eglCreateImageKHR || !m_eglDestroyImageKHR || !m_glEGLImageTargetTexture2DOES) {
|
if (!m_eglCreateImageKHR || !m_eglDestroyImageKHR || !m_glEGLImageTargetTexture2DOES) {
|
||||||
return false;
|
return false;
|
||||||
|
Loading…
Reference in New Issue
Block a user