|
|
|
@ -86,11 +86,6 @@ SceneOpenGL::SceneOpenGL(OpenGLBackend *backend, QObject *parent)
|
|
|
|
|
init_ok = false;
|
|
|
|
|
return; // error
|
|
|
|
|
}
|
|
|
|
|
if (glPlatform->isMesaDriver() && glPlatform->mesaVersion() < kVersionNumber(10, 0)) {
|
|
|
|
|
qCCritical(KWIN_OPENGL) << "KWin requires at least Mesa 10.0 for OpenGL compositing.";
|
|
|
|
|
init_ok = false;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// We only support the OpenGL 2+ shader API, not GL_ARB_shader_objects
|
|
|
|
|
if (!hasGLVersion(2, 0)) {
|
|
|
|
|